aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
Adding OptionName "NATIVE_NETWORK_ENCRYPTION" in resource AWS::RDS::OptionGroup results in drift
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::RDS::OptionGroup
### Resource Name
AWS::RDS::OptionGroup
### Issue Description
When you create an OptionName `NATIVE_NETWORK_ENCRYPTION `it adds automatically 10 option settings.
Please check the screenshot attached

### Expected Behavior
The drift detection should be aware of these option settings being added when the option Name `NATIVE_NETWORK_ENCRYPTION ` is mentioned.
### Observed Behavior
The cloud formation stack creates 10 additional option settings which results in a false-positive drift.
### Test Cases
Add option name `NATIVE_NETWORK_ENCRYPTION` in the resource AWS::RDS::OptionGroup.
### Cloud formation sample template reference -
```
Resources:
DBOptionGroup:
Type: AWS::RDS::OptionGroup
Properties:
EngineName: MYSQL
MajorEngineVersion: 19
OptionGroupDescription: some description
OptionConfigurations:
- OptionName: NATIVE_NETWORK_ENCRYPTION
OptionSettings:
- Name: SQLNET.CRYPTO_CHECKSUM_SERVER
Value: ACCEPTED
```
2) Now run drift detection
3) Observe the results
### Other Details
_No response_
Contributor guide
Research direction
Start with the supplied AWS::RDS::OptionGroup CloudFormation template and reproduce drift detection with the NATIVE_NETWORK_ENCRYPTION option. Compare the ten automatically added option settings with the detected resource state. Done means those service-added settings no longer produce a false-positive drift for this option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100