Skip to content

Fix accidental merging of tags and version for S3 Buckets #6

@jmcgill

Description

@jmcgill

I am occasionally seeing tags and version merge together when parsing S3 buckets.

The following InstanceState triggers this:

state := terraform.InstanceState{
	Attributes: map[string]string{
		"tags.%": "2",
		"tags.Environment": "prod",
		"tags.Stack-Id": "Stack-Id",
		"versioning.#": "1",
		"versioning.0.enabled": "false",
		"versioning.0.mfa_delete": "false",
	},
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions