Skip to content
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

New Resource: AppSync GraphQL Source Api Association #39323

Merged
merged 4 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/39323.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_appsync_source_api_association
```
5 changes: 5 additions & 0 deletions internal/service/appsync/appsync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ func TestAccAppSync_serial(t *testing.T) {
acctest.CtBasic: testAccDomainNameAPIAssociation_basic,
acctest.CtDisappears: testAccDomainNameAPIAssociation_disappears,
},
"SourceApiAssociation": {
acctest.CtBasic: testAccAppSyncSourceAPIAssociation_basic,
acctest.CtDisappears: testAccAppSyncSourceAPIAssociation_disappears,
"update": testAccAppSyncSourceAPIAssociation_update,
},
}

acctest.RunSerialTests2Levels(t, testCases, 0)
Expand Down
22 changes: 12 additions & 10 deletions internal/service/appsync/exports_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ var (
ResourceGraphQLAPI = resourceGraphQLAPI
ResourceResolver = resourceResolver
ResourceType = resourceType
ResourceSourceAPIAssociation = newSourceAPIAssociationResource

DefaultAuthorizerResultTTLInSeconds = defaultAuthorizerResultTTLInSeconds
FindAPICacheByID = findAPICacheByID
FindAPIKeyByTwoPartKey = findAPIKeyByTwoPartKey
FindDataSourceByTwoPartKey = findDataSourceByTwoPartKey
FindDomainNameAPIAssociationByID = findDomainNameAPIAssociationByID
FindDomainNameByID = findDomainNameByID
FindFunctionByTwoPartKey = findFunctionByTwoPartKey
FindGraphQLAPIByID = findGraphQLAPIByID
FindResolverByThreePartKey = findResolverByThreePartKey
FindTypeByThreePartKey = findTypeByThreePartKey
DefaultAuthorizerResultTTLInSeconds = defaultAuthorizerResultTTLInSeconds
FindAPICacheByID = findAPICacheByID
FindAPIKeyByTwoPartKey = findAPIKeyByTwoPartKey
FindDataSourceByTwoPartKey = findDataSourceByTwoPartKey
FindDomainNameAPIAssociationByID = findDomainNameAPIAssociationByID
FindDomainNameByID = findDomainNameByID
FindFunctionByTwoPartKey = findFunctionByTwoPartKey
FindGraphQLAPIByID = findGraphQLAPIByID
FindResolverByThreePartKey = findResolverByThreePartKey
FindSourceAPIAssociationByTwoPartKey = findSourceAPIAssociationByTwoPartKey
FindTypeByThreePartKey = findTypeByThreePartKey
)
7 changes: 6 additions & 1 deletion internal/service/appsync/service_package_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading