-
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
F add appsync target to aws cloudwatch event target #37773
F add appsync target to aws cloudwatch event target #37773
Conversation
Community NoteVoting for Prioritization
For Submitters
|
dcbddd6
to
8b5a10a
Compare
8b5a10a
to
197db5a
Compare
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=TestAccEventsTarget_appsync\|TestAccEventsTarget_basic' PKG=events
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/events/... -v -count 1 -parallel 20 -run=TestAccEventsTarget_appsync\|TestAccEventsTarget_basic -timeout 360m
2024/10/15 10:10:59 Initializing Terraform AWS Provider...
=== RUN TestAccEventsTarget_basic
=== PAUSE TestAccEventsTarget_basic
=== RUN TestAccEventsTarget_appsync
=== PAUSE TestAccEventsTarget_appsync
=== CONT TestAccEventsTarget_basic
=== CONT TestAccEventsTarget_appsync
--- PASS: TestAccEventsTarget_appsync (16.05s)
--- PASS: TestAccEventsTarget_basic (21.29s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/events 26.585s
@Oltier Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.72.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
Add appsync_target option as an option to aws_cloudwatch_event_target
Relations
Closes #36369
References
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-appsyncparameters.html
Also, it seemed to be not possible to get the endpoint arn from the
aws_appsync_graphql_api
so I had to use a replace method:otherwise I was getting this error for the arn that we can get from the GraphQL API:
This was also commented on this issue. That said, if you mangle the ARN it works perfectly.
#36369 (comment)
I also couldn't find any references to this endpoint arn in the aws sdk.
Output from Acceptance Testing