-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
feat: new datasource spot datafeed subscription #39647
feat: new datasource spot datafeed subscription #39647
Conversation
Community NoteVoting for Prioritization
For Submitters
|
- fix import issues - fix markdown issues - fix terraform format issues
4d31146
to
ae7f18e
Compare
```console % make testacc PKG=ec2 TESTS=TestAccEC2SpotDatafeedSubscription_serial/ make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.2 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2SpotDatafeedSubscription_serial/' -timeout 360m 2024/11/06 13:26:03 Initializing Terraform AWS Provider... --- PASS: TestAccEC2SpotDatafeedSubscription_serial (63.60s) --- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription (43.38s) --- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription/basic (23.09s) --- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription/disappears (20.29s) --- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscriptionDataSource (20.22s) --- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscriptionDataSource/basic (20.22s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 70.306s ```
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 🎉
% make testacc PKG=ec2 TESTS=TestAccEC2SpotDatafeedSubscription_serial/
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run='TestAccEC2SpotDatafeedSubscription_serial/' -timeout 360m
2024/11/06 13:26:03 Initializing Terraform AWS Provider...
--- PASS: TestAccEC2SpotDatafeedSubscription_serial (63.60s)
--- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription (43.38s)
--- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription/basic (23.09s)
--- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscription/disappears (20.29s)
--- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscriptionDataSource (20.22s)
--- PASS: TestAccEC2SpotDatafeedSubscription_serial/SpotDatafeedSubscriptionDataSource/basic (20.22s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 70.306s
Thanks for your contribution, @stefanfreitag! 👍 |
This functionality has been released in v5.75.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
From #39259:
This is a data source that mirrors the aws_spot_datafeed_subscription resource. Every AWS account is allowed up to one spot data-feed subscription, which updates an s3 bucket with the latest EC2 spot instance prices.
Relations
Closes #39259
References
Copied from #39259:
Output from Acceptance Testing