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
Terraform produces a valid plan despite bucket names not adhering to the bucket name requirements in the docs. When this plan is applied it fails to provision the bucket.
Expected behavior
Terraform plan should fail when the bucket name(s) are invalid. When validating the terraform plan as part of PR check requirements, this would block merging bucket name(s) that cannot be applied.
Observed behavior
Terraform plan is successful even though bucket name(s) are invalid. When validating the terraform plan as part of PR check requirements, this would block allow merging bucket name(s) that cannot be applied. Resulting in a fix needing to be pushed.
Terraform Configuration
module"bucket" {
source="terraform-google-modules/cloud-storage/google//modules/simple_bucket"version="~> 5.0"name="my-really-long-bucket-name-with-invalid-ChAraCTers-*&^-and-google-in-the-name"project_id="example-project"location="us-east1"iam_members=[{
role ="roles/storage.objectViewer"
member ="user:[email protected]"
}]
}
TL;DR
Terraform produces a valid plan despite bucket names not adhering to the bucket name requirements in the docs. When this plan is applied it fails to provision the bucket.
Expected behavior
Terraform plan should fail when the bucket name(s) are invalid. When validating the terraform plan as part of PR check requirements, this would block merging bucket name(s) that cannot be applied.
Observed behavior
Terraform plan is successful even though bucket name(s) are invalid. When validating the terraform plan as part of PR check requirements, this would block allow merging bucket name(s) that cannot be applied. Resulting in a fix needing to be pushed.
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: