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

terraform apply crashes when creating aws_ssm_activation with an expiration_date #3594

Closed
vatervonacht opened this issue Mar 1, 2018 · 5 comments · Fixed by #3597
Closed
Labels
bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/ssm Issues and PRs that pertain to the ssm service.
Milestone

Comments

@vatervonacht
Copy link

vatervonacht commented Mar 1, 2018

Terraform Version

Terraform v0.11.3

  • provider.aws v1.10.0

Affected Resource(s)

  • aws_ssm_activation

Terraform Configuration Files

resource "aws_ssm_activation" "donkey" {
  name               = "Donkey Car Activation"
  description        = "Activation to manage a Donkey Car fleet"
  iam_role           = "${aws_iam_role.ssm_donkey.id}"
  registration_limit = "5"
  expiration_date    = "2018-03-27"
  depends_on         = ["aws_iam_role_policy_attachment.ssm"]
}

Debug Output

See Panic Output below

Panic Output

https://gist.github.com/vatervonacht/4c4755b3a6667b75a31c59ba3003caec

Expected Behavior

SSM Activation resource should have been created with the specified expiration date

Actual Behavior

Crashed - stack trace says something about a string being provided instead of time.Time

Steps to Reproduce

  1. terraform apply

Important Factoids

Running on Mac OS High Sierra 10.13.3

References

None

@bflad bflad added bug Addresses a defect in current functionality. crash Results from or addresses a Terraform crash or kernel panic. service/ssm Issues and PRs that pertain to the ssm service. labels Mar 1, 2018
@bflad bflad added this to the v1.11.0 milestone Mar 1, 2018
@bflad bflad self-assigned this Mar 1, 2018
@bflad
Copy link
Contributor

bflad commented Mar 1, 2018

Looks like this attribute was never properly being acceptance testing to catch this! 😢 I'll add a failing then passing test. More soon.

@bflad
Copy link
Contributor

bflad commented Mar 2, 2018

Fix PR submitted: #3597

@bflad
Copy link
Contributor

bflad commented Mar 2, 2018

The fix for this has been merged into master and will release with v1.11.0 of the AWS provider, likely next week.

@bflad bflad removed their assignment Mar 2, 2018
@bflad
Copy link
Contributor

bflad commented Mar 9, 2018

This has been released in version 1.11.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 7, 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 7, 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. crash Results from or addresses a Terraform crash or kernel panic. service/ssm Issues and PRs that pertain to the ssm service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants