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

Update ec2 resource names inline with issue #89. #91

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

JoeCSykes
Copy link
Contributor

No description provided.

policy_arn = each.value
}

resource "tls_private_key" "private_key" {
resource "tls_private_key" "this" {
Copy link
Collaborator

@robg-test robg-test Aug 4, 2023

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" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Again see previous comment

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.

3 participants