Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't apply more than 10 tags to resource "aws_kinesis_stream" #4562

Closed
ddpalmer opened this issue May 17, 2018 · 4 comments · Fixed by #4574
Closed

Can't apply more than 10 tags to resource "aws_kinesis_stream" #4562

ddpalmer opened this issue May 17, 2018 · 4 comments · Fixed by #4574
Labels
bug Addresses a defect in current functionality. service/kinesis Issues and PRs that pertain to the kinesis service.
Milestone

Comments

@ddpalmer
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.11.7

  • provider.aws v1.18.0

Affected Resource(s)

aws_kinesis_stream

Terraform Configuration Files

provider "aws" {
  region  = "us-east-1"
  profile = "develop"
}

resource "aws_kinesis_stream" "kinesis_stream" {
  name             = "terraform_tags_test_stream"
  count            = 1
  shard_count      = 1
  retention_period = 24

  shard_level_metrics = [
    "IncomingBytes",
    "OutgoingRecords",
    "IteratorAgeMilliseconds",
    "IncomingRecords",
    "ReadProvisionedThroughputExceeded",
    "WriteProvisionedThroughputExceeded",
    "OutgoingBytes"
  ]

  tags {
    tag1  = "tag1"
    tag2  = "tag2"
    tag3  = "tag3"
    tag4  = "tag4"
    tag5  = "tag5"
    tag6  = "tag6"
    tag7  = "tag7"
    tag8  = "tag8"
    tag9  = "tag9"
    tag10  = "tag10"
    tag11  = "tag11"
  }
}

Debug Output

https://gist.github.com/ddpalmer/1d403c3516b0de8c0f4abca8dc74144e

Panic Output

None

Expected Behavior

aws_kinesis_stream resource created with 11 tags.

Actual Behavior

Tags create failed with error message: 'tags' failed to satisfy constraint: Member must have length less than or equal to 10

Steps to Reproduce

  1. terraform apply

Important Factoids

Nothing special

References

Per AWS documentation kinesis streams may have up to 50 tags, however only 10 tags may be applied at a time. https://docs.aws.amazon.com/kinesis/latest/APIReference/API_AddTagsToStream.html

  • #0000
@bflad bflad added bug Addresses a defect in current functionality. service/kinesis Issues and PRs that pertain to the kinesis service. labels May 17, 2018
@bflad bflad added this to the v1.20.0 milestone May 17, 2018
@bflad
Copy link
Contributor

bflad commented May 17, 2018

Bug fix pull request submitted: #4574

@bflad
Copy link
Contributor

bflad commented May 23, 2018

The fix for this will release with v1.20.0 of the AWS provider, likely later today. 👍

@bflad
Copy link
Contributor

bflad commented May 23, 2018

This has been released in version 1.20.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 5, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/kinesis Issues and PRs that pertain to the kinesis service.
Projects
None yet
2 participants