-
Notifications
You must be signed in to change notification settings - Fork 3
Update ec2 resource names inline with issue #89. #91
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
base: main
Are you sure you want to change the base?
Conversation
policy_arn = each.value | ||
} | ||
|
||
resource "tls_private_key" "private_key" { | ||
resource "tls_private_key" "this" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name this on the lines of self_generated
or self_managed
This could be misinterpreted as always being the key which in some scenarios it won't be (e.g. You provide your own key)
count = var.custom_key_name == "" ? 1 : 0 | ||
algorithm = "RSA" | ||
rsa_bits = 4096 | ||
} | ||
|
||
resource "aws_key_pair" "key_pair" { | ||
resource "aws_key_pair" "this" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again see previous comment
No description provided.