GithubHelp home page GithubHelp logo

terraform-aws-tfbackend's People

Contributors

aurelienmaury avatar claque2000 avatar tanguycme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-aws-tfbackend's Issues

Error in configuring S3 as a backend.

Hi,

Below is my terraform code to configure the S3 as backend.

terraform {
backend "s3" {
encrypt = true
bucket = "tfbackend-dev-mgmt-vpc"
dynamodb_table = "tfbackend-dev-mgmt-vpc-lock"
region = "eu-west-2"
key = "dev-mgmt-vpc.tfstate"
}
}

I am getting below error in configuring the S3 bucket created by your module. I am able to query and fetch details of AWS resources using awscli.

terraform init

Initializing the backend...

Error configuring the backend "s3": NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Please update the configuration in your Terraform files to fix this error
then run this command again.

Could you please suggest what might be issue here? Is this because the S3 bucket require the KMS encryption ?

Thanks in advance
Devesh

terraform plan execution error with

var.adminitrator
Enter a value:arn:aws:iam::xxxxxxxxxxxx:mfa/laxman

I am getting below mentioned error on terraform plan execution.
Error: Error asking for user input: Cannot parse value for variable administrators ("administrators") as valid HCL: At 1:39: Unknown token: 1:39 IDENT administrators
Process finished with exit code 1
I entered my both ARN
arn:aws:iam::xxxxxxxxxxxx:mfa/laxman
arn:aws:iam::xxxxxxxxxxx:user/laxman

but getting same error could you please light up on error. i am having admin level access on bucket and other resource.

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.