Cloud Formation で ECR を作成のメモ

Cloud Formation

yml は次の通りです。

AWSTemplateFormatVersion: "2010-09-09"
Description: Create ECR Repository

Parameters:
  RepositoryName:
    Type: String
    Default: repository-name

Resources:
  ########################################################
  ### ECR Repository
  ########################################################
  TestEcrPoc:
    Type: AWS::ECR::Repository
    Properties:
      RepositoryName: !Ref RepositoryName

追記

インプットパラメータは こちら あたりを参考に。

YouTube