claque2000 / terraform-aws-tfbackend Goto Github PK
View Code? Open in Web Editor NEWA module to abstract s3 secured backend with dynamodb lock for Terraform
License: MIT License
A module to abstract s3 secured backend with dynamodb lock for Terraform
License: MIT License
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.