Skip to content

feat: OCP maps/pen 42 #1

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

Merged
merged 15 commits into from
Aug 28, 2024
Merged

feat: OCP maps/pen 42 #1

merged 15 commits into from
Aug 28, 2024

Conversation

as-extern-mbertram
Copy link
Collaborator

@as-extern-mbertram as-extern-mbertram commented Aug 15, 2024

This will add TGW subnets and creation of an attachment to the VPC module. Also naming is changed for the resources to reflect the naming recommendations.

@as-extern-mbertram as-extern-mbertram changed the title Ocp maps/pen 42 feat: OCP maps/pen 42 Aug 15, 2024
@as-extern-mbertram as-extern-mbertram marked this pull request as draft August 15, 2024 13:15
@as-extern-mbertram as-extern-mbertram marked this pull request as ready for review August 15, 2024 13:44
@as-extern-mbertram as-extern-mbertram marked this pull request as draft August 15, 2024 13:45
@as-extern-mbertram as-extern-mbertram marked this pull request as ready for review August 15, 2024 14:15
@as-extern-mbertram as-extern-mbertram marked this pull request as draft August 19, 2024 11:51
@as-extern-mbertram as-extern-mbertram marked this pull request as ready for review August 19, 2024 12:03
@as-extern-mbertram as-extern-mbertram requested review from spr-mweber3 and removed request for gentgme August 19, 2024 12:04
Copy link

@plcoelho plcoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for all of the remarks, but a lot of them are the same thing, just in different locations.
Let's have a conversation about them 😄

main.tf Outdated
@@ -115,7 +116,10 @@ resource "aws_subnet" "public" {
{
Name = try(
var.public_subnet_names[count.index],
format("${var.name}-${var.public_subnet_suffix}-%s", element(var.azs, count.index))
format("${var.name_prefix}%s-%s-sub-${var.public_subnet_suffix}",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Over here we have no dash (-) between the name_prefix and the next string, but we do have a dash before the suffix.
Is this the expected approach?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes:

  • Add the after ${var.name_prefix}
  • Add ${var.region_shortcode} after name_prefix

main.tf Outdated
@@ -115,7 +116,10 @@ resource "aws_subnet" "public" {
{
Name = try(
var.public_subnet_names[count.index],
format("${var.name}-${var.public_subnet_suffix}-%s", element(var.azs, count.index))
format("${var.name_prefix}%s-%s-sub-${var.public_subnet_suffix}",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes:

  • Add the after ${var.name_prefix}
  • Add ${var.region_shortcode} after name_prefix

tgw.tf Outdated
)
}

# There are as many routing tables as the number of NAT gateways

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment.

@as-extern-mbertram as-extern-mbertram requested review from gentgme and plcoelho and removed request for spr-mweber3 August 26, 2024 14:37
Copy link

@plcoelho plcoelho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@as-extern-mbertram as-extern-mbertram merged commit 9a80254 into ocp-maps-main Aug 28, 2024
6 checks passed
@as-extern-mbertram as-extern-mbertram deleted the ocp-maps/pen-42 branch August 28, 2024 06:53
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.

4 participants