aws_spot_fleet_request valid_until doesn't support indefinite requests #12755
Labels
breaking-change
Introduces a breaking change in current functionality; usually deferred to the next major release.
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Terraform Version
Terraform v0.12.24
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
The AWS API says valid_until is an optional parameter. Unfortunately the terraform implementation defaults to 24 hours. I don't see a way I can configure this resource to get it to behave like the aws default behaviour of "until the spot request is cancelled" - see ValidUntil in https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html
Actual Behavior
defaults to 24 hours, has no obvious way to set it to "until the request is cancelled"
Potential workarounds I thought of short term are:
The text was updated successfully, but these errors were encountered: