hashicorp / terraform-provider-awscc

Terraform AWS Cloud Control provider
https://registry.terraform.io/providers/hashicorp/awscc/latest/docs
Mozilla Public License 2.0
238 stars 107 forks source link

awscc_lightsail_alarm: Wrong description for the `monitored_resource_name` argument #1821

Open acwwat opened 2 weeks ago

acwwat commented 2 weeks ago

Community Note

Terraform CLI and Terraform AWS Cloud Control Provider Version

Affected Resource(s)

Terraform Configuration Files

n/a

Debug Output

n/a

Panic Output

n/a

Expected Behavior

The resource documentation should show a proper description for the monitored_resource_name argument, such as what's in the API reference:

The name of the Lightsail resource that will be monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

Resource Type definition for AWS::Lightsail::Certificate

Actual Behavior

The resource documentation has an unrelated description for the monitored_resource_name:

The validation status of the SSL/TLS certificate.

Steps to Reproduce

  1. Check the description of the monitored_resource_name argument in the resource documentation

Important Factoids

n/a

References

n/a

quixoticmonk commented 2 weeks ago

Thank you for opening the issue @acwwat . I have opened a PR on the lightsail providers documentation to fix this.

godduv-amzn commented 2 weeks ago

This issue has been fixed and merged in this PR: https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lightsail/pull/70.