CircleCI-Public / terraform-orb

Deploy your infrastructure via a CircleCI pipeline using the Terraform orb. Integrate Infrastructure-as-Code (IaC) to help provision and manage any cloud, infrastructure, or service of your choice.
https://circleci.com/orbs/registry/orb/circleci/terraform
MIT License
10 stars 44 forks source link

Terraform init with S3 backend is failing with terraform version 0.15+ and orb 3.0.0 #50

Closed markandersontrocme closed 2 years ago

markandersontrocme commented 3 years ago

Orb Version The version number of the orb 3.0.0

Describe the bug

When terraform/init job is ran with backend_config, we get an error: Error refreshing state: InvalidBucketName: The specified bucket is not valid. To Reproduce Run a terraform init using aws s3 as backend_config

Expected behavior Terraform to init properly with an s3 backend

Additional context If we use terraform version 0.14.x with orb 2.x.x we do not get this error, only with version 0.15.x + and orb 3.0.0

mpraveenreddie commented 3 years ago

@punkdata @KyleTryon @bendrucker

markandersontrocme commented 3 years ago

Seems to be the same error as: https://github.com/CircleCI-Public/terraform-orb/issues/51

KyleTryon commented 2 years ago

Closing as duplicate of #51. For anyone following this issue, it has been resolved and is awaiting release. We will have an update coming out very shortly (likely today).