Code Monkey home page Code Monkey logo

iac's Introduction

Hi there ๐Ÿ‘‹

narumir's GitHub stats narumir's github stats

iac's People

Contributors

narumir avatar

Watchers

 avatar

iac's Issues

terraform workspace ์ ์šฉ

terraform์„ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์ด์šฉํ•ด์„œ ๋ฐฐํฌ ๋ฐ ์ ์šฉ์„ ์ƒ๊ฐ ํ•ด ์™”์œผ๋‚˜ workspace ๋ผ๋Š” ์ข‹์€ ๊ธฐ๋Šฅ์ด ์žˆ์–ด์„œ ์ ์šฉํ•ด๋ณด๊ธฐ๋กœ

api_gateway url๋กœ ์ ‘๊ทผ ๋ถˆ๊ฐ€ํ•˜๋„๋ก iam ์„ค์ •

api_gateway stage ์ฃผ์†Œ๋กœ ์ ‘๊ทผ ํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์ œ๊ฐ€ ์žˆ์–ด์„œ ๊ด€๋ฆฌ ์ธก๋ฉด์ด ๋Š˜์–ด๋‚จ๊ณผ ์ƒ๊ฐ์ง€ ๋ชปํ•œ ๋ณด์•ˆ ๋ฌธ์ œ์— ๋…ธ์ถœ ๋  ์ˆ˜ ์žˆ์–ด์„œ iam ๊ถŒํ•œ์„ ์ถ”๊ฐ€ํ•ด ์ฐจ๋‹จํ•˜๊ธฐ.

aws ๋ฌธ์„œ

aws-credentials ๋ฒ„์ „ ์—…๋ฐ์ดํŠธ

nodejs 12๊ฐ€ ์ง€์› ์ค‘๋‹จ ๋ฐ ๊ตฌ๋ฒ„์ „์„ ๊ตณ์ด ์‚ฌ์šฉํ•  ์ด์œ ์™€ ์—…๋ฐ์ดํŠธ ์‹œ ๋ฐœ์ƒํ•  ๋ฌธ์ œ๊ฐ€ ์ ๋‹ค๊ณ  ํŒ๋‹จ๋จ

terraform s3 ํŒŒ์ผ github release์—์„œ ๋Œ์–ด์™€์„œ ๋ฐฐํฌ ํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค์ •

ํ˜„์žฌ ํŒŒ์ผ ๊ธฐ์ค€์œผ๋กœ s3์— ํŒŒ์ผ์ด ์—†์–ด์„œ terraform ๋ฐฐํฌ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๋Š”๋ฐ ์ด๊ฑธ github์—์„œ ๋Œ์–ด๋‹ค ๋ฐฐํฌํ•˜๋Š” ๊ฑธ๋กœ ํ•ด๊ฒฐํ•ด ๋ณผ๊นŒ ์ƒ๊ฐ์ค‘...
ํ˜„์žฌ ์ˆ˜๋™์œผ๋กœ ์˜ฌ๋ ค ๋†”์„œ ๊ฐ€๋Šฅ

terraform iam ์‚ฌ์šฉ์ž ๋ฆฌ์ „ ์ œํ•œ ์„ค์ •

๋‹ค๋ฅธ ๋ฆฌ์ „์— ์˜๋„์น˜ ์•Š๊ฒŒ ๋ฐฐํฌ ๋˜๋Š” ์‚ฌ๋ก€๋ฅผ ๋ง‰๊ธฐ ์œ„ํ•ด iam ์‚ฌ์šฉ์ž๋ฅผ ๋ฒ„์ง€๋‹ˆ์•„ ๋ถ๋ถ€ us-east-1(๊ธ€๋กœ๋ฒŒ) ๋ฆฌ์ „๊ณผ ap-northeast-2(์„œ์šธ) ๋ฆฌ์ „์„ ์ œ์™ธํ•œ ๊ถŒํ•œ์„ ์ œ๊ฑฐํ•œ๋‹ค.

๋น„๋ฐ€ ํ‚ค ์ €์žฅ์†Œ ํ†ตํ•ฉํ•˜๊ธฐ

ํ˜„์žฌ SSM, Github Secret, Local(PC) ๋“ฑ ๋ถ„์‚ฐ ์ €์žฅ์ด ๋˜์–ด ์žˆ์–ด์„œ ํ†ตํ•ฉ์œผ๋กœ ์ €์žฅํ•ด์•ผ ํ•  ํ•„์š”๊ฐ€ ์žˆ๋‹ค.

๊ฐ€๋Šฅํ•˜๋ฉด AWS SSM์œผ๋กœ ํ†ตํ•ฉ์„ ํ•˜๊ณ , ์ ‘๊ทผ path๋ฅผ iam์œผ๋กœ ๋‚˜๋ˆ„์–ด์„œ ๊ถŒํ•œ์„ ๋ถ€์—ฌ ํ•  ์ˆ˜ ์žˆ์œผ๋ฉด ์ข‹์„๋“ฏ.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.