Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Add RDS storage encryption:
Browse files Browse the repository at this point in the history
AWS Cloudformation API now supports RDS storage encryption. This
change adds the StorageEncrypted field to boootstrap_cfn.
  • Loading branch information
pidah committed Apr 20, 2015
1 parent e829a86 commit 1d3cffc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions bootstrap_cfn/config.py
Expand Up @@ -128,6 +128,7 @@ def rds(self):
'db-name': 'DBName',
'storage': 'AllocatedStorage',
'storage-type': 'StorageType',
'storage-encrypted': 'StorageEncrypted',
'backup-retention-period': 'BackupRetentionPeriod',
'db-master-username': 'MasterUsername',
'db-master-password': 'MasterUserPassword',
Expand Down
3 changes: 2 additions & 1 deletion bootstrap_cfn/stacks/rds.json
Expand Up @@ -29,6 +29,7 @@
"MasterUserPassword": "",
"AllocatedStorage": "",
"StorageType": "",
"StorageEncrypted": "",
"Engine": "",
"EngineVersion": "",
"MultiAZ": "",
Expand All @@ -39,4 +40,4 @@
"AutoMinorVersionUpgrade": false
}
}
}
}
1 change: 1 addition & 0 deletions tests/sample-project.yaml
Expand Up @@ -55,6 +55,7 @@ dev:
rds:
storage: 5
storage-type: gp2
storage-encrypted: True
backup-retention-period: 1
identifier: test-dev
db-name: test
Expand Down
1 change: 1 addition & 0 deletions tests/tests.py
Expand Up @@ -159,6 +159,7 @@ def test_rds(self):
'MasterUsername': 'testuser',
'MultiAZ': False,
'PubliclyAccessible': False,
'StorageEncrypted': True,
'StorageType': 'gp2'},
'Type': 'AWS::RDS::DBInstance'},
'RDSSubnetGroup': {
Expand Down

0 comments on commit 1d3cffc

Please sign in to comment.