Skip to content

Commit 092c988

Browse files
Copilotwata727
andauthored
Add documentation to AWS MQ engine type validation rules (#974)
* Initial plan * Add documentation comments to MQ engine type enum lists Co-authored-by: wata727 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: wata727 <[email protected]>
1 parent 6297af1 commit 092c988

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

rules/aws_mq_broker_invalid_engine_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ func NewAwsMqBrokerInvalidEngineTypeRule() *AwsMqBrokerInvalidEngineTypeRule {
1919
return &AwsMqBrokerInvalidEngineTypeRule{
2020
resourceType: "aws_mq_broker",
2121
attributeName: "engine_type",
22+
// https://docs.aws.amazon.com/amazon-mq/latest/api-reference/broker-engine-types.html
23+
// Terraform uses mixed case: ActiveMQ, RabbitMQ (AWS API uses uppercase: ACTIVEMQ, RABBITMQ)
2224
enum: []string{
2325
"ActiveMQ",
2426
"RabbitMQ",

rules/aws_mq_configuration_invalid_engine_type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ func NewAwsMqConfigurationInvalidEngineTypeRule() *AwsMqConfigurationInvalidEngi
1919
return &AwsMqConfigurationInvalidEngineTypeRule{
2020
resourceType: "aws_mq_configuration",
2121
attributeName: "engine_type",
22+
// https://docs.aws.amazon.com/amazon-mq/latest/api-reference/broker-engine-types.html
23+
// Terraform uses mixed case: ActiveMQ, RabbitMQ (AWS API uses uppercase: ACTIVEMQ, RABBITMQ)
2224
enum: []string{
2325
"ActiveMQ",
2426
"RabbitMQ",

0 commit comments

Comments
 (0)