강의

멘토링

커뮤니티

Inflearn Community Q&A

javamania694996's profile image
javamania694996

asked

DevOps Now - Terraform X AWS

Download and run source code

terraform apply 실행시키면 Error 발생합니다.

Written on

·

703

0

 PS C:\Users\esc0\Desktop\terraform\terraform-aws\7.rds-ec2-s3-alb-vpc> terraform apply

var.service_type

Enter a value: test

│ Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.

│ Please see https://registry.terraform.io/providers/hashicorp/aws

│ for more information about providing credentials.

│ Error: NoCredentialProviders: no valid providers in chain. Deprecated.

│ For verbose messaging see aws.Config.CredentialsChainVerboseErrors

│ with provider["registry.terraform.io/hashicorp/aws"],

│ on main.tf line 11, in provider "aws":

│ 11: provider "aws" {

awsTerraform

Answer 1

0

kookh09875453님의 프로필 이미지
kookh09875453
Instructor

안녕하세요. 아래 2가지 내용 확인 부탁드려요.

(1) 테라폼 개발 환경 구성에서 "AWS 관련 설치 및 설정을 진행"을 하셨을까요?

(2) terraform apply 이 전에 terraform init 작업을 진행을 하셨는지 확인이 필요합니다.

javamania694996님의 프로필 이미지
javamania694996
Questioner

"AWS 관련 설치 및 설정을 진행"을 빼먹었네요 ...

감사합니다.

javamania694996's profile image
javamania694996

asked

Ask a question