-
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
r/ Network Monitor Monitor and Probe #35722
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
# Conflicts: # .github/labeler-pr-triage.yml # go.mod # go.sum # internal/conns/awsclient_gen.go # names/data/names_data.csv
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 TESTARGS='-run=TestAccNetworkMonitorMonitor_' PKG=networkmonitor ACCTEST_PARALLELISM=2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/networkmonitor/... -v -count 1 -parallel 2 -run=TestAccNetworkMonitorMonitor_ -timeout 360m
=== RUN TestAccNetworkMonitorMonitor_basic
=== PAUSE TestAccNetworkMonitorMonitor_basic
=== RUN TestAccNetworkMonitorMonitor_tags
=== PAUSE TestAccNetworkMonitorMonitor_tags
=== RUN TestAccNetworkMonitorMonitor_disappears
=== PAUSE TestAccNetworkMonitorMonitor_disappears
=== CONT TestAccNetworkMonitorMonitor_basic
=== CONT TestAccNetworkMonitorMonitor_disappears
--- PASS: TestAccNetworkMonitorMonitor_disappears (12.64s)
=== CONT TestAccNetworkMonitorMonitor_tags
--- PASS: TestAccNetworkMonitorMonitor_basic (23.23s)
--- PASS: TestAccNetworkMonitorMonitor_tags (30.33s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmonitor 47.385s
% make testacc TESTARGS='-run=TestAccNetworkMonitorProbe_' PKG=networkmonitor ACCTEST_PARALLELISM=2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.4 test ./internal/service/networkmonitor/... -v -count 1 -parallel 2 -run=TestAccNetworkMonitorProbe_ -timeout 360m
=== RUN TestAccNetworkMonitorProbe_basic
=== PAUSE TestAccNetworkMonitorProbe_basic
=== RUN TestAccNetworkMonitorProbe_disappears
=== PAUSE TestAccNetworkMonitorProbe_disappears
=== RUN TestAccNetworkMonitorProbe_tags
=== PAUSE TestAccNetworkMonitorProbe_tags
=== RUN TestAccNetworkMonitorProbe_update
=== PAUSE TestAccNetworkMonitorProbe_update
=== CONT TestAccNetworkMonitorProbe_basic
=== CONT TestAccNetworkMonitorProbe_tags
--- PASS: TestAccNetworkMonitorProbe_tags (329.67s)
=== CONT TestAccNetworkMonitorProbe_disappears
--- PASS: TestAccNetworkMonitorProbe_basic (339.02s)
=== CONT TestAccNetworkMonitorProbe_update
--- PASS: TestAccNetworkMonitorProbe_disappears (323.48s)
--- PASS: TestAccNetworkMonitorProbe_update (439.58s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmonitor 783.038s
@juhala-aws Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.56.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! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
This PR will create Amazon Cloudwatch Network Monitor service Monitor and Probe resources.
Relations
Closes #35342
References
API documentation: https://docs.aws.amazon.com/networkmonitor/latest/APIReference/Welcome.html
https://aws.amazon.com/about-aws/whats-new/2023/12/amazon-cloudwatch-network-monitor-generally-available/
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/what-is-network-monitor.html
This is supported by the Go SDK: https://docs.aws.amazon.com/sdk-for-go/api/service/networkmonitor/
Output from Acceptance Testing