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

Support import for aws_lambda_alias #8506

Closed
pintbrewer opened this issue May 2, 2019 · 4 comments · Fixed by #8513
Closed

Support import for aws_lambda_alias #8506

pintbrewer opened this issue May 2, 2019 · 4 comments · Fixed by #8513
Labels
enhancement Requests to existing resources that expand the functionality or scope. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/lambda Issues and PRs that pertain to the lambda service.
Milestone

Comments

@pintbrewer
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I would like the ability to import an existing lambda alias to terraform state.
My current aliases created from another IaC tool are orphaned from terraform management, but I'd like to bring them in so that they can be referenced in lambda event triggers and such.

New or Affected Resource(s)

aws_lambda_alias

Potential Terraform Configuration

terraform import aws_lambda_alias.alias1 lambda_name/alias1
@pintbrewer pintbrewer added the enhancement Requests to existing resources that expand the functionality or scope. label May 2, 2019
@nywilken nywilken added good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/lambda Issues and PRs that pertain to the lambda service. labels May 2, 2019
@richardjennings
Copy link
Contributor

I have opened a PR #8513

@bflad bflad added this to the v2.10.0 milestone May 9, 2019
@bflad
Copy link
Contributor

bflad commented May 9, 2019

Support for importing aws_lambda_alias resources has been merged and will release with version 2.10.0 of the Terraform AWS Provider, likely later today. Thanks, @richardjennings!

bflad added a commit that referenced this issue May 9, 2019
#8506 ability to import an existing lambda alias to terraform state
@bflad
Copy link
Contributor

bflad commented May 10, 2019

This has been released in version 2.10.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Mar 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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants