Comments (9)
Can you clarify what you mean by a “terraform node”?
The bucket is created by terraform in this module. You should not create the bucket by any other means.
Please note this module uses a bit of terraform “inception” to manage terraforms state bucket with terraform. Thus it’s a 2-phase process.
from terraform-aws-tfstate-backend.
I think the problem you are having is that you define a s3 backend before creating the s3 backend. You’ll note that in the first backend section there is no reference to s3. That is deliberate. Then after applying, the bucket is created. Now we can update the backend section to add s3. After doing that, we need to rerun terraform init which will import the state.
This is a coldstart problem. Just needs to happen once.
from terraform-aws-tfstate-backend.
Nope, this causes a whole bunch of problems.
then I try and use the state in another folder, with no previous state, and I get this:
I tried skipping steps 4 and 5, thinking that worked, but then no state is saved....so since this change was made, I have now stuck. Been using this module for years with no problem...now I can't use it.
from terraform-aws-tfstate-backend.
$ terraform --version
Terraform v0.12.18
- provider.aws v2.44.0
- provider.local v1.4.0
- provider.null v2.1.2
- provider.template v2.1.2
from terraform-aws-tfstate-backend.
On Dec 2, 2019, I was able to use this module just fine. Had not had to create any infrastructure since then. Started yesterday....and this is what I ran into. was on v0.12.10 then as well..
from terraform-aws-tfstate-backend.
If I skip steps 4 and 5, I do not get the above errors, but my state doesn't get stored either....
from terraform-aws-tfstate-backend.
So I got thru that error, but now state is not being maintained between my folders...it says it is initializing the backend state, but it is not...
from terraform-aws-tfstate-backend.
The state is not being saved...tried numerous efforts...whatever update was made to this module has rendered it un-useful...will have to find another way to maintain remote state
from terraform-aws-tfstate-backend.
https://nolanlawson.com/2017/03/05/what-it-feels-like-to-be-an-open-source-maintainer/
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
- Error releasing the state lock
- 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.