Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20190823_DockerMeetupKansai__4.pdf

 20190823_DockerMeetupKansai__4.pdf

nezumisannn

August 23, 2019
Tweet

More Decks by nezumisannn

Other Decks in Technology

Transcript

  1. 自己紹介 resource “my_profile” “nezumisannn” { name = “Yuki.Teraoka” nickname =

    “ねずみさん家。” company = “beyond” job = “Site Reliability Engineer” twitter = “@yktr_sre” skills = [“terraform”,”packer”] }
  2. テンプレートの作成 { "variables" : { -> variables setting here },

    "builders": [ -> builders settting here ], "provisioners" : [ -> provisioners setting here ], "post-processors" : [ -> post-processors setting here ] }
  3. post-processors "post-processors": [ [ { "type": "docker-tag", "repository": "{{user `ecr_repository`}}",

    "tag": "latest" }, { "type": "docker-push", "ecr_login": true, "login_username": "AWS" "login_password": "{{user `ecr_login_password`}}" "login_server": "{{user `ecr_registry_url`}}" } ] ]
  4. END