1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
Please check whether the status of "PullRequestComment" is "DISABLED" using the command below.
If it is "DISABLED", the settings have been saved successfully.
For "githubtest", enter the name of your CloudFormation stack.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codeconnections/get-sync-configuration.html
aws codeconnections get-sync-configuration --sync-type CFN_STACK_SYNC --resource-name githubtest
Try running AWS CLI commands from CloudShell.
https://docs.aws.amazon.com/cloudshell/latest/userguide/welcome.html
When you run the command, you can see the following response.
{
"SyncConfiguration": {
"Branch": "main",
"ConfigFile": "GuardDuty.yml",
"OwnerId": "Kobayashi-Riku0226",
"ProviderType": "GitHub",
"RepositoryLinkId": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyy",
"RepositoryName": "CloudFormation",
"ResourceName": "githubtest",
"RoleArn": "arn:aws:iam::123456789012:role/service-role/githubtest",
"SyncType": "CFN_STACK_SYNC",
"PublishDeploymentStatus": "ENABLED",
"TriggerResourceUpdateOn": "ANY_CHANGE",
"PullRequestComment": "DISABLED"
}
}
In the management console, when you open the edit screen, the toggle is enabled, but if you have successfully saved the settings, you should be able to disable it.
Relevant content
- AWS OFFICIALUpdated 2 years ago
