Skip to content

s3-buckets tags error but not tags set #2

@sergey-rsa

Description

@sergey-rsa

module "s3-buckets" {
source = "devops-workflow/s3-buckets/aws"
version = "0.3.0"
environment = "${var.stack-name}"
names = ["email-templates"]
public = true
}

terraform init
terraform plan

Error: Error refreshing state: 1 error(s) occurred:

  • module.s3-buckets.module.labels.data.null_data_source.tags_list: 1 error(s) occurred:

  • module.s3-buckets.module.labels.data.null_data_source.tags_list: zipmap: count of keys (10) does not match count of values (9) in:

${merge(
zipmap(
compact(split(",", element(data.null_data_source.tags..outputs.tag_keys, count.index))),
compact(split(",", element(data.null_data_source.tags.
.outputs.tag_vals, count.index)))),
var.tags)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions