Comments (1)
The issue was with the remote state, I was using terraform.tfstate
key but as terragrunt suggest in the documentation the state file should be managed separately.
Existing:
remote_state {
backend = "s3"
config = {
encrypt = true
bucket = "test-terragrunt-${local.account_name}-${local.aws_region}"
key = "terraform.tfstate"
region = local.aws_region
dynamodb_table = "tf-locks"
}
generate = {
path = "backend.tf"
if_exists = "overwrite_terragrunt"
}
}
Fix
remote_state {
backend = "s3"
config = {
encrypt = true
bucket = "gogift-terragrunt-${local.account_name}-${local.aws_region}"
key = "${path_relative_to_include()}/terraform.tfstate"
region = local.aws_region
dynamodb_table = "tf-locks"
}
generate = {
path = "backend.tf"
if_exists = "overwrite_terragrunt"
}
}
from terragrunt.
Related Issues (20)
- Download latest Terragrunt engine when version is not specified HOT 1
- Terragrunt ignores the version constraint of a Terraform module HOT 1
- terragrunt console in interactive mode should forward tf stdout - v0.67.x HOT 2
- Terragrunt swallows error output HOT 2
- Pre-releases break version constraints
- Unable to download terraform modules from Jfrog artifactory private registry using tfr or https
- forward terraform graph command HOT 2
- Terragrunt catalog returns git error after second download HOT 3
- handle empty string env vars more gracefully HOT 1
- Release signing and key ? HOT 3
- --terragrunt-log-disable hides terraform errors HOT 2
- terragrunt run-all graph plan/apply
- Dependencies output lookup does not use download_dir path
- Add `--terragrunt-queue-include-units-reading` flag to Terragrunt HOT 1
- New log shows STDERR with Terragrunt Provider Cache
- Terragrunt Provider Cache discovers registry names URLs instead of mirror servers URLs HOT 1
- Terragrunt crashes with no useful information if terraform version is not determined HOT 1
- terragrunt does not support provider functions and fails during input-validate
- Create multiple resources using same terragrunt.hcl file HOT 1
- `run-all show -json` mangles output for very large plans HOT 3
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 terragrunt.