hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.8k stars 9.15k forks source link

spot fleet json output - retrieve launch specifications as json file to match aws json spec #7346

Closed queglay closed 3 years ago

queglay commented 5 years ago

Current Terraform Version

11.11

Use-cases

AWS Cli and SDK can normallay use JSON output from spot fleet specificaitions in the ec2 console.

It would be helpful for terraform to be able to output its spot fleet spec as a JSON file to be in line with current AWS ability to do this (the bottom left of the spot fleet interface in aws management console has a json button)

My use case is for cloud rendering with aws thinkbox deadline, which takes this json output as the template it will use when 3d renders are submitted.

Attempted Solutions

None

Proposal

providing an optional output to aws_spot_fleet_request by the name of json_output_spec or some such would give us the ability to reference this data.

References

queglay commented 5 years ago

One thing Im wondering, is if under the hood terraform is producing this output somewhere so that the json fleet spec can be obtained some other way.

github-actions[bot] commented 3 years ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

ghost commented 3 years ago

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!