Replies: 1 comment
-
Read https://terragrunt.gruntwork.io/docs/reference/config-blocks-and-attributes/#skip and add the following to # ./terraform/terragrunt.hcl
# notice here!
skip = true
remote_state {
backend = "s3"
generate = {
path = "backend.tf"
if_exists = "skip"
}
config = {
skip_metadata_api_check = true
skip_credentials_validation = true
endpoint = "nyc3.digitaloceanspaces.com"
region = "us-east-1"
bucket = "..."
key = "${path_relative_to_include()}/terraform.tfstate"
}
disable_init = true
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey folks, I am running
terragrunt run-all *
from the./terraform
where I do not have abackend.tf
because I removed it.I intend that
./terraform
isn't any project but just the following:But I keep getting the following error:
What is the proper way to say that such a top-level isn't a project and ignore it?
Tracked in ticket #110474
Beta Was this translation helpful? Give feedback.
All reactions