-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Add support for EC2 Launch Templates to Batch #6454
Comments
I would definitely like to see support for this in Terraform. That said, my company's developed a work-around (based partially on comments on #3207 ) that might be useful for some people. Basically, instead of defining a We define a launch template with our custom settings:
And a
Finally, we create the
Since we manually provision the compute environment, we also need to manually destroy it. However, we don't want to automatically destroy it, since when we run Again, this is a hack with a manual step, and it would be preferable if terraform supported launch templates natively so we didn't have to resort to this, but it solved our problem. |
What is the status of this please? |
Support for configuring launch template information in the |
This has been released in version 2.4.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
cc @brainstorm |
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! |
Community Note
Description
AWS Batch now supports the use of EC2 Launch Templates for Managed compute environments. I'd like to be able to use Terraform to manage this.
New or Affected Resource(s)
aws_batch_compute_environment
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: