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

fix for terraform-provider-aws v5.27.0 or later. #21

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

yseto
Copy link
Contributor

@yseto yseto commented Dec 7, 2023

closes #20

@yseto yseto self-assigned this Dec 7, 2023
name = var.rule_name
description = "created by mackerel-monitoring-modules"
// TODO we will follow upstream?
state = var.is_enabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[should] Former parameter "is_enabled" is boolean but now "state" is DISABLED, ENABLED or ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS. It is confusing to change the type with the same variable, so we recommend creating a new variable.

Copy link
Member

@Arthur1 Arthur1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

description = "Whether the rules is enabled or not."
type = bool
default = true
type = "string"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type = "string"
type = string

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

solved at 3c9f683

@yseto yseto merged commit de9a148 into main Dec 8, 2023
1 check passed
@yseto
Copy link
Contributor Author

yseto commented Dec 8, 2023

thanks for your review.

@yseto yseto deleted the fix-terraform-provider-aws-v5.27.0 branch December 8, 2023 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants