question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWS::RDS::OptionGroup OptionSettings spec vs docs

See original GitHub issue

cfn-lint version: 1.5.1

Lint failing due to spec discrepancy. CloudFormation successfully deploys.

E3002 Expecting an object at Resources/SqlServerOptionGroup/Properties/OptionConfigurations/0/OptionSettings

Spec - link

"AWS::RDS::OptionGroup.OptionConfiguration": {
  "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html",
  "Properties": {
    "DBSecurityGroupMemberships": {REDACTED},
    "OptionName": {REDACTED},
    "OptionSettings": {
    "Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionsettings",
    "Required": false,
    "Type": "OptionSetting", <-- SHOULD BE LIST
    "UpdateType": "Mutable"
  },
  "OptionVersion": {REDACTED},
  "Port": {REDACTED},
  "VpcSecurityGroupMemberships": {REDACTED}
  }
},

Doc - link

image

Sample

SqlServerOptionGroup:
  Type: AWS::RDS::OptionGroup
  Properties:
    EngineName: !Ref EngineName
    MajorEngineVersion: !Ref MajorEngineVersion
    OptionGroupDescription: rds-sql-optiongroup
    OptionConfigurations:
      - OptionName: SQLSERVER_BACKUP_RESTORE
        OptionSettings:
          - Name: IAM_ROLE_ARN
            Value: !GetAtt SqlServerBackupRestoreRole.Arn

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Zyavacommented, Apr 29, 2022

Ooops, sorry 🙂 that’s another attribute. I created new issue: https://github.com/aws-cloudformation/cfn-lint/issues/2258.

1reaction
mattcantycommented, Jul 4, 2018

I went with

cfn-lint:
    config:
      ignore_checks:
        - E3002 

until the issue is resolved, this is OK with us for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with option groups - Amazon Relational Database ...
An option group can specify features, called options, that are available for a particular Amazon RDS DB instance. Options can have settings that...
Read more >
AWS::RDS::OptionGroup - AWS CloudFormation
The AWS::RDS::OptionGroup resource creates or updates an option group, to enable and configure features that are specific to a particular DB engine.
Read more >
Options for the Microsoft SQL Server database engine
In this section, you can find descriptions for options that are available for Amazon RDS instances running the Microsoft SQL Server DB engine....
Read more >
Overview of Oracle DB options - AWS Documentation
To find out which RDS options are supported in different Oracle Database editions, use the command aws rds describe-option-group-options .
Read more >
Options for MySQL DB instances - AWS Documentation
For more information about working with option groups, see Working with option groups. Amazon RDS supports the following options for MySQL: Option, Option...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found