- 最新
- 最多得票
- 最多評論
Hello,
There is no equivalent of Connection for AppRunner.
Resources:
#You must update the connection via the console
TestRepo:
Type: AWS::CodeStarConnections::Connection
Properties:
ConnectionName: MyGithubAccount
ProviderType: GitHub
In the above example you could create the initial connection request via CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html. However you would still need to change the state from pending to available via the console: https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html
So there is still some manual intervention required as this will utilize the AWS Connector for GitHub. This is not something currently supported in CloudFormation as it pertains to AppRunner. You would still need to manually create the connection via the AWS App Runner console.
Then you could use CloudFormation to create the AppRunner service: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-service.html
相關內容
- AWS 官方已更新 4 年前