diff options
| author | Paul Buetow <paul@buetow.org> | 2023-12-31 17:56:07 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-12-31 17:56:07 +0200 |
| commit | d46ca8f6149771c4e9b4e53f880d9e6dfe0735e8 (patch) | |
| tree | 41e49c4571a92116730bfc845be64d12bb406a42 /org-buetow-base | |
| parent | b888d505502a33de6587485eb41f2a150aa86385 (diff) | |
add tags
Diffstat (limited to 'org-buetow-base')
| -rw-r--r-- | org-buetow-base/efs.tf | 10 | ||||
| -rw-r--r-- | org-buetow-base/network.tf | 16 |
2 files changed, 24 insertions, 2 deletions
diff --git a/org-buetow-base/efs.tf b/org-buetow-base/efs.tf index 8ef5930..9bf717a 100644 --- a/org-buetow-base/efs.tf +++ b/org-buetow-base/efs.tf @@ -2,12 +2,13 @@ resource "aws_efs_file_system" "self_hosted_services_efs" { creation_token = "self-hosted-services-efs" encrypted = true - # backup_policy { + # Not supported by current version of Terraform I use + # backup_policy { # status = "ENABLED" #} tags = { - Name = "self-hosted-services" + Name = "efs-self-hosted-services" } } @@ -45,4 +46,9 @@ resource "aws_security_group" "efs_self_hosted_services_sg" { protocol = "-1" cidr_blocks = ["0.0.0.0/0"] } + + + tags = { + Name = "efs-self-hosted-services" + } } diff --git a/org-buetow-base/network.tf b/org-buetow-base/network.tf index df94964..1697970 100644 --- a/org-buetow-base/network.tf +++ b/org-buetow-base/network.tf @@ -21,6 +21,10 @@ resource "aws_subnet" "public_subnet_a" { ipv6_cidr_block = cidrsubnet(aws_vpc.vpc.ipv6_cidr_block, 8, 1) availability_zone = "eu-central-1a" map_public_ip_on_launch = true + + tags = { + Name = "vpc" + } } resource "aws_subnet" "public_subnet_b" { @@ -30,6 +34,10 @@ resource "aws_subnet" "public_subnet_b" { ipv6_cidr_block = cidrsubnet(aws_vpc.vpc.ipv6_cidr_block, 8, 2) availability_zone = "eu-central-1b" map_public_ip_on_launch = true + + tags = { + Name = "vpc" + } } resource "aws_subnet" "public_subnet_c" { @@ -39,6 +47,10 @@ resource "aws_subnet" "public_subnet_c" { ipv6_cidr_block = cidrsubnet(aws_vpc.vpc.ipv6_cidr_block, 8, 3) availability_zone = "eu-central-1c" map_public_ip_on_launch = true + + tags = { + Name = "vpc" + } } resource "aws_route_table" "route_table" { @@ -82,6 +94,10 @@ resource "aws_security_group" "allow_ssh" { cidr_blocks = ["0.0.0.0/0"] ipv6_cidr_blocks = ["::/0"] } + + tags = { + Name = "vpc" + } } resource "aws_security_group" "allow_web" { |
