Comments (8)
We are getting the same error in our build pipeline as well. Sadly we use the 'full' version of the terraform docker image and there is no way to pull that image with older versions of Terraform on it.
from terraform-aws-tfstate-backend.
@n6g7 @Rob-rls are either of you able to open a PR for 0.12 support?
from terraform-aws-tfstate-backend.
@osterman I'm happy to do this, just FYI it's evening now in the UK so serious work on it won't happen until tomorrow.
In the end we resolved the issue be creating a custom docker terraform v0.11 image that includes some of the extras that the 'full' terraform dockerhub image had.
from terraform-aws-tfstate-backend.
@osterman I gave it a try this morning but didn't get very far: ae9cee0
Just going after the error messages wasn't enough and I got a different set of errors:
Error: Invalid function argument
on .terraform/modules/terraform_state_backend.base_label/main.tf line 80, in locals:
80: attributes = "${lower(join(local.delimiter, local.attributes))}"
|----------------
| local.attributes is tuple with 1 element
Invalid value for "lists" parameter: element 0: string required.
Error: Unsupported argument
on .terraform/modules/terraform_state_backend/main.tf line 30, in data "aws_iam_policy_document" "prevent_unencrypted_uploads":
30: statement = [
An argument named "statement" is not expected here. Did you mean to define a
block of type "statement"?
Error: Unsupported block type
on .terraform/modules/terraform_state_backend/main.tf line 170, in data "template_file" "terraform_backend_config":
170: vars {
Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.
I probably won't have time to put any more time into this for a while, hope that can get you started @Rob-rls. :)
from terraform-aws-tfstate-backend.
@n6g7 thanks for taking a stab at it. Looks like we have our work cut out for us.
from terraform-aws-tfstate-backend.
Has there been any progress on this?
I may have time to look into this later this week.
from terraform-aws-tfstate-backend.
@osterman @Rob-rls I opened a PR with the necessary changes to support 0.12: #22. Could you take a look? 🙂
from terraform-aws-tfstate-backend.
This was addressed in https://github.com/cloudposse/terraform-aws-tfstate-backend/releases/tag/0.8.0
also added bats
and terratest
tests and Codefresh test pipeline.
from terraform-aws-tfstate-backend.
Related Issues (20)
- Dependency Dashboard
- darwin_arm64 still not supported HOT 5
- KMS encryption HOT 1
- Logging bucket generates a name with a duplicate HOT 4
- Using this module without without specifying an external context label module generates invalid resource names
- Upgrading from <0.33.1 to >=0.33.1 requires state move for bucket HOT 2
- terraform-provider-aws v4.0 incompatibility HOT 2
- Allow making changes to the s3 bucket policy
- terraform apply completes successfully with "Warning: Argument is deprecated" HOT 5
- Unable to be used with terraform workspaces HOT 2
- Reimplement with "cloudposse/terraform-aws-s3-bucket" to standardize parameters/features
- Add delete_protection to DynamoDB table HOT 3
- No compatibility with terraform v1.6 HOT 1
- Add lifecycle configuration to delete objects under a certain size to remove destroyed states
- Bucket replication managed by this module HOT 4
- Feature Request - Allow a parameter for the name of DynamoDB table HOT 1
- Error creating S3 bucket ... the region 'us-east-1' is wrong; expecting 'eu-central-1' HOT 3
- Remove the `read_capacity` and `write_capacity` from lifecycle change ignore
- Add support for multiple terraform backend config files HOT 6
- DynamoDB label attributes inconsistent due to null label module HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-tfstate-backend.