Pat Myron
Pat Myron
> * Best practices could be done here... like not hard coding a region into a ARN. I like the idea of a [non-Error level rule that could flag ARNs...
[Another `AWS::Events::Rule.ScheduleExpression` request](https://github.com/aws-cloudformation/cfn-python-lint/issues/1351) [Another `AWS::Events::Rule.ScheduleExpression` request](https://github.com/aws-cloudformation/cfn-python-lint/issues/1723) **[existing `AWS::Events::Rule.ScheduleExpression` rule](https://github.com/aws-cloudformation/cfn-python-lint/blob/master/src/cfnlint/rules/resources/events/RuleScheduleExpression.py)**
process of writing [`src/cfnlint/data/ExtendedSpecs/all/`](https://github.com/aws-cloudformation/cfn-python-lint/tree/master/src/cfnlint/data/ExtendedSpecs/all/) and generating [`src/cfnlint/data/CloudSpecs/`](https://github.com/aws-cloudformation/cfn-python-lint/tree/master/src/cfnlint/data/CloudSpecs) described here: https://github.com/aws-cloudformation/cfn-python-lint/issues/903#issuecomment-595356853
I'd like to start leveraging [botocore enums](https://github.com/boto/botocore/blob/2300e3a87e2835c93d832ee9c8ec7433cfa7fe18/botocore/data/dms/2016-01-01/service-2.json#L2005-L2013) instead of maintaining all the AllowedValues in the Linter source code itself especially since that was the most commonly maintained [concise constraint format](https://github.com/aws-cloudformation/cfn-python-lint/issues/903#issuecomment-595356853)...
I really like this rule idea and think it's generalizable beyond this specific resource type: https://github.com/aws-cloudformation/cfn-lint/pull/3023
At least for public resource types, we also have plans to improve the modeling of the property types themselves, which should help for those
https://github.com/aws-cloudformation/cfn-lint/issues/1249#issuecomment-699219804
related issues: https://github.com/aws-cloudformation/cfn-python-lint/issues/1117 https://github.com/aws-cloudformation/cfn-python-lint/issues/1940
**Should be a name property for all of these RDS resource types:** [`AWS::RDS::OptionGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html): [`aws rds create-option-group`](https://docs.aws.amazon.com/cli/latest/reference/rds/create-option-group.html#synopsis) [`AWS::RDS::DBParameterGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html): [`aws rds create-db-parameter-group`](https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-parameter-group.html#synopsis) [`AWS::RDS::DBClusterParameterGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbclusterparametergroup.html): [`aws rds create-db-cluster-parameter-group`](https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-cluster-parameter-group.html#synopsis) [`AWS::RDS::DBSecurityGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group.html): [`aws rds create-db-security-group`](https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-security-group.html#synopsis) ~~[`AWS::RDS::DBSubnetGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnet-group.html): [`aws...
(somewhat related issue: https://github.com/aws-cloudformation/cfn-python-lint/issues/1117) remember seeing a similar conversation for [`cfripper`](https://github.com/Skyscanner/cfripper/)/[`cfn_nag`](https://github.com/stelligent/cfn_nag/)/[`cfn-guard`](https://github.com/aws-cloudformation/cfn-guard/)/[`parliament`](https://github.com/duo-labs/parliament)/@iann0036's projects @omkhegde @iann0036 @0xdabbad00 @phelewski @oscarbc96 anyone have a link / remember where?