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

[Bug]: aws_cloudwatch_log_group invalid value for skip_destroy #30353

Closed
grahamhar opened this issue Mar 30, 2023 · 4 comments · Fixed by #30354
Closed

[Bug]: aws_cloudwatch_log_group invalid value for skip_destroy #30353

grahamhar opened this issue Mar 30, 2023 · 4 comments · Fixed by #30354
Assignees
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/logs Issues and PRs that pertain to the logs service.
Milestone

Comments

@grahamhar
Copy link
Contributor

Terraform Core Version

1.3.9,1.4.2

AWS Provider Version

4.54.0,4.60.0

Affected Resource(s)

aws_cloudwatch_log_group

Expected Behavior

The plan/apply should have completed without error

Actual Behavior

The apply errored following introduction of the attribute skip_destroy

Relevant Error/Panic Output Snippet

│ aws_cloudwatch_log_group.log_group
    │ to include new values learned so far during apply, provider
    │ "registry.terraform.io/hashicorp/aws" produced an invalid new value for
    │ .skip_destroy: was cty.False, but now null.
    │
    │ This is a bug in the provider, which should be reported in the provider's
    │ own issue tracker.

Terraform Configuration Files

resource "aws_cloudwatch_log_group" "yada" {
name = "Yada"
skip_destroy = var.skip
}

variable "skip" {
type = bool
default = false
}

Steps to Reproduce

We could not reproduce when trying the same configuration on a different stack.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

Yes

@grahamhar grahamhar added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Mar 30, 2023
@github-actions github-actions bot added the service/logs Issues and PRs that pertain to the logs service. label Mar 30, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Mar 30, 2023
@SizZiKe
Copy link

SizZiKe commented May 9, 2023

@justinretzolk what's blocking this from being released?

@ewbankkit ewbankkit self-assigned this Dec 11, 2023
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Dec 11, 2023
@github-actions github-actions bot added this to the v5.31.0 milestone Dec 11, 2023
@github-actions github-actions bot removed the bug Addresses a defect in current functionality. label Dec 15, 2023
Copy link

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

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 15, 2024
@justinretzolk justinretzolk added the bug Addresses a defect in current functionality. label Feb 10, 2024
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. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. service/logs Issues and PRs that pertain to the logs service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants