Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail should happen sooner for invalid license #737

Open
coltoneshaw opened this issue May 1, 2024 · 0 comments
Open

Fail should happen sooner for invalid license #737

coltoneshaw opened this issue May 1, 2024 · 0 comments

Comments

@coltoneshaw
Copy link
Member

~10 minutes into creation it failed for an invalid file. Should ideally be discovered on a precheck of the config.

info  [2024-05-01 14:59:22.674 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [20s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 14:59:32.675 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [30s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 14:59:42.676 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [40s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 14:59:52.677 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [50s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:02.677 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m0s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:12.678 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m10s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:22.679 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m20s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:32.680 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m30s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:42.681 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m40s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:52.682 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Still creating... [1m50s elapsed] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:57.576 Z] aws_rds_cluster_endpoint.cluster_endpoints[0]: Creation complete after 1m55s [id=coltonplatformone-wr] caller="terraform/engine.go:103"
info  [2024-05-01 15:00:57.615 Z] ╷                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │ Error: file provisioner error caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │   with aws_instance.app_server[1], caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │   on cluster.tf line 70, in resource "aws_instance" "app_server": caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │   70:   provisioner "file" { caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] │ stat license.mattermost-license: no such file or directory caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.615 Z] ╵                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] ╷                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │ Error: file provisioner error caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │   with aws_instance.app_server[0], caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │   on cluster.tf line 70, in resource "aws_instance" "app_server": caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │   70:   provisioner "file" { caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] │ stat license.mattermost-license: no such file or directory caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.624 Z] ╵                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] ╷                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │ Error: file provisioner error caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │   with aws_instance.job_server[0], caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │   on cluster.tf line 624, in resource "aws_instance" "job_server": caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │  624:   provisioner "file" { caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │                              caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] │ stat license.mattermost-license: no such file or directory caller="terraform/engine.go:97"
info  [2024-05-01 15:00:57.634 Z] ╵                              caller="terraform/engine.go:97"
Error: failed to create terraform env: exit status 1
exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant