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 | Error for varibale type when account id starts with "00XXX" #7

Open
rodriguez-matias opened this issue Aug 4, 2024 · 0 comments

Comments

@rodriguez-matias
Copy link

Where

https://github.com/binbashar/terraform-aws-guardduty-multiaccount/blob/c3b51f533de7f5a7be6c9fa6e5fc5f7ba6c0e99f/modules/delegated-admin/variables.tf#L32C17-L32C23

What

image

How to reproduce

module "guardduty" {
source = "github.com/binbashar/terraform-aws-guardduty-multiaccount.git//modules/delegated-admin?ref=v0.2.0"

guardduty_delegated_admin_account_id = "008XXXXX83"

How to fix the error

change in modules/delegated-admin/variables.tf the variable type to "string"

 
variable "guardduty_delegated_admin_account_id" {
  type        = string
  description = "The account id of the account that will be GuardDuty's delegated admin."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant