Git Product home page Git Product logo

Comments (8)

Rob-rls avatar Rob-rls commented on May 25, 2024 2

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.

osterman avatar osterman commented on May 25, 2024

@n6g7 @Rob-rls are either of you able to open a PR for 0.12 support?

from terraform-aws-tfstate-backend.

Rob-rls avatar Rob-rls commented on May 25, 2024

@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.

n6g7 avatar n6g7 commented on May 25, 2024

@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.

osterman avatar osterman commented on May 25, 2024

@n6g7 thanks for taking a stab at it. Looks like we have our work cut out for us.

from terraform-aws-tfstate-backend.

n6g7 avatar n6g7 commented on May 25, 2024

Has there been any progress on this?
I may have time to look into this later this week.

from terraform-aws-tfstate-backend.

n6g7 avatar n6g7 commented on May 25, 2024

@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.

aknysh avatar aknysh commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.