Skip to content

Commit

Permalink
fix: πŸ› Fix the output tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedropinheiro75 committed Jun 20, 2023
1 parent c2576c1 commit acc6bea
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions examples/complete/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,6 @@ terraform {
source = "../..//."
}

# ---------------------------------------------------------------------------------------------------------------------
# TERRAGRUNT CONFIGURATION
# Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules,
# remote state, and locking: https://github.com/gruntwork-io/terragrunt
# ---------------------------------------------------------------------------------------------------------------------
remote_state {
backend = "local"
config = {
path = "${get_parent_terragrunt_dir()}/${path_relative_to_include()}/terraform.tfstate"
}

generate = {
path = "backend.tf"
if_exists = "overwrite"
}
}

# When using this terragrunt config, terragrunt will generate the file "provider-aws.tf" with the aws provider block before
# calling to terraform. Note that this will overwrite the `provider.tf` file if it already exists.
generate "provider" {
path = "provider-aws.tf"
if_exists = "skip" # Allow modules to override provider settings
contents = <<EOF
provider "aws" {
region = var.region
default_tags {
tags = var.tags
}
}
EOF
}

inputs = {
region = "us-east-2"

Expand Down

0 comments on commit acc6bea

Please sign in to comment.