You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If my repository name is ces-adm-sv-byupw and I include that in my app name, then the postman module will complain about the name of the postman bucket being too long:
│ Error: expected length of bucket to be in the range (0 - 63), got ces-adm-sv-byupw-deploy-test-dev-postman-tests-***-logs
│
│ with module.app.module.postman_test_lambda.aws_s3_bucket.postman_bucket_logs[0],
│ on .terraform/modules/app.postman_test_lambda/main.tf line 49, in resource "aws_s3_bucket" "postman_bucket_logs":
│ 49: bucket = "${var.app_name}-postman-tests-${data.aws_caller_identity.current.account_id}-logs"
│
The app name shouldn't have to be so short. My suggestion would be to change the name of the bucket:
Remove the account id from the bucket name
Shorted postman-tests to pm
bucket= "${var.app_name}-pm-logs"
On my part, I'm removing the deploy-test portion of the bucket name.
The text was updated successfully, but these errors were encountered:
If my repository name is ces-adm-sv-byupw and I include that in my app name, then the postman module will complain about the name of the postman bucket being too long:
The app name shouldn't have to be so short. My suggestion would be to change the name of the bucket:
postman-tests
topm
On my part, I'm removing the
deploy-test
portion of the bucket name.The text was updated successfully, but these errors were encountered: