Skip to content

Conversation

@pkuber-tamr
Copy link
Contributor

No description provided.

Copy link
Contributor

@souza-dan souza-dan left a comment

Choose a reason for hiding this comment

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

Mostly small comments from me, but overall on the right track!

Comment on lines 5 to +9
identifier_prefix = "example-rds-pg-"
postgres_name = "example0"
parameter_group_name = "example-rds-postgres-pg"
username = "example-tamr-master"
password = "foo" #tfsec:ignore:GEN003
username = "exampleUsername"
password = "examplePassword" #tfsec:ignore:GEN003
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that you have a var.name-prefix you could probably include it in some of these fields in place of example

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True but the limitation with username is that is does not accept any '-'s so while setting the name-prefix, we need to be mindful of that otherwise the apply would fail. Else we would need to massage the string to remove any special characters.

@pkuber-tamr pkuber-tamr requested a review from souza-dan July 1, 2021 16:57
Copy link
Contributor

@souza-dan souza-dan left a comment

Choose a reason for hiding this comment

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

Overall in great shape, just 1 minor thing

variables.tf Outdated

variable "ingress_sg_ids" {
variable "security_group_ids" {
description = "List of security group IDs to allow ingress from (i.e. Spark cluster SG IDs, Tamr VM SG ID)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's update this description. Can borrow from the terraform docs:
https://registry.terraform.io/modules/terraform-aws-modules/rds/aws/latest#input_vpc_security_group_ids

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@pkuber-tamr pkuber-tamr requested a review from souza-dan July 1, 2021 17:39
Copy link
Contributor

@souza-dan souza-dan left a comment

Choose a reason for hiding this comment

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

LGTM

@pkuber-tamr pkuber-tamr merged commit 4d49ce4 into Datatamer:master Jul 1, 2021
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.

2 participants