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

corrected subnet group cidr #4 #8

Merged
merged 1 commit into from
Aug 24, 2024
Merged

corrected subnet group cidr #4 #8

merged 1 commit into from
Aug 24, 2024

Conversation

kunduso
Copy link
Owner

@kunduso kunduso commented Aug 24, 2024

This PR fixes the build and closes #4

@kunduso kunduso self-assigned this Aug 24, 2024
Copy link

💰 Infracost report

Monthly estimate generated

This comment will be updated when code changes.

Copy link

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Terraform Validation 🤖success

Show Plan

terraform
data.aws_caller_identity.current: Reading...
data.aws_availability_zones.available: Reading...
aws_vpc.this: Refreshing state... [id=vpc-00cca1bdbb2ac5fe7]
data.aws_caller_identity.current: Read complete after 0s [id=743794601996]
data.aws_availability_zones.available: Read complete after 0s [id=us-east-2]
aws_route_table.this_rt: Refreshing state... [id=rtb-0cbfb3ce27b7d85f7]
aws_default_security_group.default: Refreshing state... [id=sg-04d49f9c6598bebc4]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # aws_route_table_association.db[0] will be created
  + resource "aws_route_table_association" "db" {
      + id             = (known after apply)
      + route_table_id = "rtb-0cbfb3ce27b7d85f7"
      + subnet_id      = (known after apply)
    }

  # aws_route_table_association.db[1] will be created
  + resource "aws_route_table_association" "db" {
      + id             = (known after apply)
      + route_table_id = "rtb-0cbfb3ce27b7d85f7"
      + subnet_id      = (known after apply)
    }

  # aws_subnet.db[0] will be created
  + resource "aws_subnet" "db" {
      + arn                                            = (known after apply)
      + assign_ipv6_address_on_creation                = false
      + availability_zone                              = "us-east-2a"
      + availability_zone_id                           = (known after apply)
      + cidr_block                                     = "15.25.15.0/28"
      + enable_dns64                                   = false
      + enable_resource_name_dns_a_record_on_launch    = false
      + enable_resource_name_dns_aaaa_record_on_launch = false
      + id                                             = (known after apply)
      + ipv6_cidr_block_association_id                 = (known after apply)
      + ipv6_native                                    = false
      + map_public_ip_on_launch                        = false
      + owner_id                                       = (known after apply)
      + private_dns_hostname_type_on_launch            = (known after apply)
      + tags                                           = {
          + "Name" = "app-12subnet-1"
        }
      + tags_all                                       = {
          + "Name"   = "app-12subnet-1"
          + "Source" = "https://github.com/kunduso/terraform-rds-secretsmanager-rotation-lambda"
        }
      + vpc_id                                         = "vpc-00cca1bdbb2ac5fe7"
    }

  # aws_subnet.db[1] will be created
  + resource "aws_subnet" "db" {
      + arn                                            = (known after apply)
      + assign_ipv6_address_on_creation                = false
      + availability_zone                              = "us-east-2b"
      + availability_zone_id                           = (known after apply)
      + cidr_block                                     = "15.25.15.16/28"
      + enable_dns64                                   = false
      + enable_resource_name_dns_a_record_on_launch    = false
      + enable_resource_name_dns_aaaa_record_on_launch = false
      + id                                             = (known after apply)
      + ipv6_cidr_block_association_id                 = (known after apply)
      + ipv6_native                                    = false
      + map_public_ip_on_launch                        = false
      + owner_id                                       = (known after apply)
      + private_dns_hostname_type_on_launch            = (known after apply)
      + tags                                           = {
          + "Name" = "app-12subnet-2"
        }
      + tags_all                                       = {
          + "Name"   = "app-12subnet-2"
          + "Source" = "https://github.com/kunduso/terraform-rds-secretsmanager-rotation-lambda"
        }
      + vpc_id                                         = "vpc-00cca1bdbb2ac5fe7"
    }

Plan: 4 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: TFplan.JSON

To perform exactly these actions, run the following command to apply:
    terraform apply "TFplan.JSON"

Pushed by: @kunduso, Action: pull_request

@kunduso kunduso merged commit f00f583 into main Aug 24, 2024
2 of 4 checks passed
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

Successfully merging this pull request may close these issues.

Add the network stack to host RDS
1 participant