Created
May 25, 2020 09:32
-
-
Save darko-mesaros/0eeb88b9d209aba28d4b691137e56eec to your computer and use it in GitHub Desktop.
Creation of GitHub repositories via AWS CloudFormation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: "2010-09-09" | |
Description: > | |
https://twitch.tv/ruptwelve | |
Parameters: | |
RepoName: | |
Type: String | |
Description: Enter the name for your repository | |
Default: please-change-me | |
Resources: | |
MyGitHubRepo: | |
Type: AWS::CodeStar::GitHubRepository | |
Properties: | |
Code: | |
S3: | |
Bucket: "super-secret-code-bucket" | |
Key: "galaksija-source.zip" | |
EnableIssues: true | |
IsPrivate: True | |
RepositoryAccessToken: '{{resolve:secretsmanager:ghtoken:SecretString:ghtoken}}' | |
RepositoryDescription: Here be some super secret code - that I made public | |
RepositoryName: !Ref RepoName | |
RepositoryOwner: voja-antonic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment