Skip to content

Commit 2c5509e

Browse files
rverma-nikiaiaknysh
authored andcommitted
upgrade 0.12 (#71)
* upgraded-tf * manual fixes using intellij suggestions
1 parent ae70072 commit 2c5509e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/autoscalinggroup/main.tf

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ resource "aws_autoscaling_group" "default" {
6565
################################
6666
provider "aws" {
6767
region = "eu-west-1"
68-
version = "~> 2.7"
6968

7069
# Make it faster by skipping unneeded checks here
7170
skip_get_ec2_platforms = true

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ data "null_data_source" "tags_as_list_of_maps" {
7373

7474
inputs = merge(
7575
{
76-
"key" = element(keys(local.tags), count.index)
77-
"value" = element(values(local.tags), count.index)
76+
"key" = keys(local.tags)[count.index]
77+
"value" = values(local.tags)[count.index]
7878
},
7979
var.additional_tag_map
8080
)

0 commit comments

Comments
 (0)