-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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: support tenancy for spot fleets #14163
Conversation
Add the `placement_tenancy` attribute to the `aws_spot_fleet_request` resource so users can request instances use dedicated hardware. Fixes #14152.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just one minor nit, and documentation needed.
instance_type = "m1.small" | ||
ami = "ami-d06a90b0" | ||
key_name = "${aws_key_pair.debugging.key_name}" | ||
placement_tenancy = "dedicated" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
odd spacing here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, good catch, thanks.
Re: documentation, I looked into adding documentation with the rest of the |
@paddycarver :/ odd, assumed it was documented similarly to our other resources. Perhaps just add it to the one of the |
Add an example usage of the placement_tenancy field to spot fleet request docs.
Cool, last push should do that. 👍 Let me know if I misunderstood. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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. |
Add the
placement_tenancy
attribute to theaws_spot_fleet_request
resource so users can request instances use dedicated hardware.
Fixes #14152.