Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

feat(ec2): name support for the launch template #1509

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

nikpivkin
Copy link
Collaborator

@nikpivkin nikpivkin commented Dec 18, 2023

Comment on lines +26 to +28
// If the user leaves the name blank, Terraform will automatically generate a unique name
case "aws_launch_template":
presets["name"] = cty.StringVal(uuid.New().String())
Copy link
Member

Choose a reason for hiding this comment

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

do we have to use a UUID here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to generate some unique value in case the user did not pass the name argument.

@simar7 simar7 self-requested a review January 10, 2024 22:53
@simar7 simar7 merged commit 29e4764 into aquasecurity:master Jan 10, 2024
4 checks passed
@nikpivkin nikpivkin deleted the launch-template branch January 11, 2024 07:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants