質問編集履歴

1

文章を一部修正いたしました。

2022/06/20 05:13

投稿

Baloncesto
Baloncesto

スコア7

test CHANGED
File without changes
test CHANGED
@@ -5,7 +5,8 @@
5
5
  以下エラーが発生します。
6
6
  ※複数登録したいため、countを用いております。
7
7
 
8
+ ```ここに言語を入力
8
- $ terraform plan -var-file=Tenant-0040.tfvars
9
+ $ terraform plan
9
10
 
10
11
  │ Error: "function_name" doesn't comply with restrictions ("^(arn:[\\w-]+:lambda:)?([a-z]{2}-(?:[a-z]+-){1,2}\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?$"): "var.targets[count.index].service_name"
11
12
 
@@ -14,6 +15,8 @@
14
15
  │ 197: function_name = "${aws_lambda_function.default[count.index].function_name}"
15
16
 
16
17
 
18
+ ```
19
+
17
20
 
18
21
 
19
22
  初歩的な質問で恐縮ですが、こちらのエラーの原因がわからず、手こずっております。
@@ -21,7 +24,7 @@
21
24
 
22
25
 
23
26
 
24
- コードは以下となります。
27
+ Terraformのコードは以下となります。
25
28
 
26
29
  ```ここに言語を入力
27
30
  136 # ---------------------