質問編集履歴

2

変更したTerraformのソースに「required_providers {」が抜けていたため修正

2022/04/19 11:54

投稿

GotHokLin
GotHokLin

スコア37

test CHANGED
File without changes
test CHANGED
@@ -45,6 +45,7 @@
45
45
  ```
46
46
  terraform {
47
47
  required_version = ">= 0.15.3"
48
+ required_providers {
48
49
  aws = {
49
50
  source = "hashicorp/aws"
50
51
  version = "4.10.0"

1

変更後のソースが誤っていたため修正

2022/04/19 07:22

投稿

GotHokLin
GotHokLin

スコア37

test CHANGED
File without changes
test CHANGED
@@ -45,9 +45,14 @@
45
45
  ```
46
46
  terraform {
47
47
  required_version = ">= 0.15.3"
48
+ aws = {
48
- required_providers {
49
+ source = "hashicorp/aws"
49
- aws = "3.39.0"
50
+ version = "4.10.0"
51
+ }
52
+ template = {
53
+ source = "hashicorp/template"
50
- template = "2.2.0"
54
+ version = "2.2.0"
55
+ }
51
56
  }
52
57
  backend "s3" {
53
58
  bucket = "example-s3-tf-state"