infrastructure-as-code Questions

1

In terraform/aws/global/vpc/security_groups.tf I have the below code to create my bastion security group, and the output.tf file as well which is below. But in terraform/aws/layers/bastion/main.tf ...

2

I have used this module to create a security group in AWS VPC. How do I reference the resource created from this in a separate file? I am creating our bastion instance in a separate directory in th...

1

Solved

Terraform newbie here. I have a code here for the ECS schedule task. Whenever I change this and apply the change, the first version of task definition is getting set in the ECS task. So I tried add...

1

Solved

I know that I could setup Cloud Firestore and GCP Cloud Functions with infrastructure as a code, but I'm interested that it will be shown at the Firebase Console. I also can't find any way to deplo...

1

Solved

I am working on implementing a GSI in CloudFormation with Infrastructure As Code. All I want to do is use this table to keep count of the entries in the main DynamoTable. Here is what the main tale...

1

I'm struggling to get the password from a couple of new ec2 instances when using terraform. Been reading up through a couple of posts and thought i had it but not getting anywhere. Here's my confi...
Perlaperle asked 18/5, 2019 at 17:54

1

Solved

I have created a service account and a custom role in GCP using Terraform. How do I attach this custom role to the service account? I could do this using GCP Console but that is not the need here a...
Flatto asked 28/3, 2019 at 14:50

1

Solved

When you look at terraform's docs for security group, you can see that there is an option to define a security_groups argument inside the ingress/egress security rules. It seems quite strange to m...
Pansypant asked 6/3, 2019 at 21:33

1

Solved

There is a repeatable configuration that I see in many Terraform projects where the provider is AWS: The configuration of an outbound (egress) rule to allow ALL outbound traffic. As far as I under...
Microcurie asked 6/3, 2019 at 12:53

1

Solved

I'm working on infrastructure provisioning, so I'm calling modules as nested. There is my file system tree. ├── main.tf └── modules ├── client.tf └── in └── main.tf My files showing as below ...
Vivanvivarium asked 23/1, 2019 at 9:45

© 2022 - 2024 — McMap. All rights reserved.