Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is Scalr support terragrunt? #347

Open
mostafa6765 opened this issue Sep 3, 2024 · 4 comments
Open

is Scalr support terragrunt? #347

mostafa6765 opened this issue Sep 3, 2024 · 4 comments

Comments

@mostafa6765
Copy link

I am facing an issue with Terragrunt. Scalr produces variable not found issue with terragrunt.hcl vars.

@emocharnik
Copy link
Contributor

Hi, @mostafa6765. I'm Edgar from the Product team at Scalr. Currently, we do not support Terragrunt. Except for the definition of the variables, what else Terragrunt-specific do you have in the terragrunt.hcl file?

@mostafa6765
Copy link
Author

@emocharnik yes, I have a terragrunt.hcl and set some inputs. Those inputs don't bind like terraform cloud.

Thank you. terragrunt support will be good, waiting for this feature.

@mostafa6765
Copy link
Author

terragrunt.hcl

terraform {
  source = "../../projects//stage"
}

include {
  path = find_in_parent_folders()
}

inputs = {
  vpc_cidr_block             = "10.0.0.0/16"
  vpc_enable_dns_hostnames   = true
  vpc_enable_dns_support     = true
  vpc_name                   = "stage-vpc"
  vpc_tags                   = {
    "Environment" = "stage"
  }

  subnet_cidrs               = ["10.0.1.0/24", "10.0.2.0/24"]
  subnet_availability_zones  = ["us-west-2a", "us-west-2b"]
  subnet_map_public_ip_on_launch = true
  subnet_name_prefix         = "stage-subnet"
  subnet_tags                = {
    "Environment" = "stage"
  }
}

@emocharnik
Copy link
Contributor

Hi, @mostafa6765. Good news: we started working on the Terragrunt integration. I'll let you know once it's added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants