-
-
Notifications
You must be signed in to change notification settings - Fork 967
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
Create multiple resources using same terragrunt.hcl file #3426
Comments
Hi,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below is the input section for one of my terragrunt.hcl file. This one will create 1 vpc endpoint resource, suppose if i have 5 vpc endpoints to create, should we create 5 terragrunt.hcl file to provide inputs for those 5? can we achieve this via single terragrunt.hcl file by providing multiple inputs?
inputs = { eks_cluster_name = env_vars.cluster_name tags = local.tags vpc_id = local.vpc_outputs.vpc_id.value route_table_ids = var.vpc_outputs.private_route_table_ids. name = "vault" endpoint_type = "Interface" interface_endpoint_service_name = vault_endpoint_service_name subnet_ids = try(local.vpc_outputs.private_subnets.value, ["subnet-123456", "subnet-123456", "subnet-123456"]) create_vpc_endpoint = include.env_vars.locals.create_cog_infra }
The text was updated successfully, but these errors were encountered: