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

provider/aws: add name_prefix option to launch config #3802

Merged
merged 1 commit into from
Nov 10, 2015

Conversation

pforman
Copy link
Contributor

@pforman pforman commented Nov 7, 2015

Fixes Issue #2911.

This adds a name_prefix option to aws_launch_configuration resources, making the create_before_destroy lifecycle pattern a bit more understandable in large configs.

When specified, name_prefix is used instead of "terraform-" as the prefix for the launch configuration name, with the 26-character uuid appended. It's set to Conflict with name, so existing functionality is unchanged. name still sets the name explicitly.

Added an acceptance test, and updated the site documentation.

Let me know if there's anything out of place or that you'd like to change.

Thanks!

See hashicorp#2911.

This adds a `name_prefix` option to `aws_launch_configuration` resources.

When specified, it is used instead of `terraform-` as the prefix for the
launch configuration.  It conflicts with `name`, so existing
functionality is unchanged.  `name` still sets the name explicitly.

Added an acceptance test, and updated the site documentation.
@pforman pforman changed the title providers/aws: add name_prefix option to launch config provider/aws: add name_prefix option to launch config Nov 9, 2015
@nick-parry
Copy link

+1

@catsby
Copy link
Contributor

catsby commented Nov 10, 2015

Looks good to me, thanks!

catsby added a commit that referenced this pull request Nov 10, 2015
provider/aws: add name_prefix option to launch config
@catsby catsby merged commit 5708457 into hashicorp:master Nov 10, 2015
@ghost
Copy link

ghost commented Apr 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants