We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update hasError method to avoid child attributes requirement when parent attribute is optional.
hasError
https://registry.terraform.io/providers/hashicorp/aws/latest/docs#assume_role
aws.assume_role (optional) aws.assume_role.role_arn (required)
if aws.assume_role is not specified, hasError should return false even if aws.assume_role.role_arn is required but empty.
aws.assume_role
false
aws.assume_role.role_arn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Update
hasError
method to avoid child attributes requirement when parent attribute is optional.Example
https://registry.terraform.io/providers/hashicorp/aws/latest/docs#assume_role
aws.assume_role (optional)
aws.assume_role.role_arn (required)
if
aws.assume_role
is not specified,hasError
should returnfalse
even ifaws.assume_role.role_arn
is required but empty.The text was updated successfully, but these errors were encountered: