Techdebt: Update Cloudformation Coverage (to use mock_aws) (#7362)
This commit is contained in:
parent
cb82b7025d
commit
7f6c9cb1de
@ -29,11 +29,7 @@ Please let us know if you'd like support for a resource not yet listed here.
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::Batch::ComputeEnvironment | x | | | - [ ] ComputeEnvironmentArn |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::Batch::JobDefinition | x | | | - [ ] Status |
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] Revision |
|
||||
| | | | | - [ ] JobDefinitionArn |
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] ContainerOrchestrationType |
|
||||
| | | | | |
|
||||
|AWS::Batch::JobDefinition | x | | | |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::Batch::JobQueue | x | | | - [ ] JobQueueArn |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
@ -73,7 +69,7 @@ Please let us know if you'd like support for a resource not yet listed here.
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] VpcId |
|
||||
| | | | | |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::EC2::SecurityGroupIngress | x | | | |
|
||||
|AWS::EC2::SecurityGroupIngress | x | | | - [ ] Id |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::EC2::Subnet | x | | x | - [ ] VpcId |
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] NetworkAclAssociationId |
|
||||
@ -167,11 +163,11 @@ Please let us know if you'd like support for a resource not yet listed here.
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::RDS::DBParameterGroup | x | | | - [ ] DBParameterGroupName |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::Redshift::Cluster | x | | | - [x] Endpoint.Address |
|
||||
+---------------------------------------+--------+--------+--------+ - [x] Endpoint.Port |
|
||||
| | | | | - [ ] Id |
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] DeferMaintenanceIdentifier |
|
||||
| | | | | |
|
||||
|AWS::Redshift::Cluster | x | | | - [ ] MasterPasswordSecretArn |
|
||||
+---------------------------------------+--------+--------+--------+ - [x] Endpoint.Address |
|
||||
| | | | | - [x] Endpoint.Port |
|
||||
+---------------------------------------+--------+--------+--------+ - [ ] ClusterNamespaceArn |
|
||||
| | | | | - [ ] DeferMaintenanceIdentifier |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|AWS::Route53::HealthCheck | x | | | - [ ] HealthCheckId |
|
||||
+---------------------------------------+--------+--------+--------+----------------------------------------+
|
||||
|
@ -4,10 +4,15 @@ import requests
|
||||
import os
|
||||
|
||||
import moto
|
||||
from moto.backends import get_backend, list_of_moto_modules
|
||||
|
||||
|
||||
# Populate CloudFormationModel.__subclasses__()
|
||||
moto.mock_all()
|
||||
|
||||
for service_name in list_of_moto_modules():
|
||||
try:
|
||||
get_backend(service_name)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
script_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
@ -59,7 +64,9 @@ class CloudFormationChecklist:
|
||||
|
||||
@property
|
||||
def moto_model(self):
|
||||
for subclass in moto.core.common_models.CloudFormationModel.__subclasses__():
|
||||
from moto.core.common_models import CloudFormationModel
|
||||
|
||||
for subclass in CloudFormationModel.__subclasses__():
|
||||
subclass_service = subclass.__module__.split(".")[1]
|
||||
subclass_model = subclass.__name__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user