troposphere icon indicating copy to clipboard operation
troposphere copied to clipboard

troposphere - Python library to create AWS CloudFormation descriptions

Results 120 troposphere issues
Sort by recently updated
recently updated
newest added

When you create an AWS Codebuild project with a buildspec and have lines longer than 200 chars the resultant YAML generated by troposphere is not accepted by CodeBuild as a...

## Problem **troposphere** incorrectly identifies `GroupId` parameter of `SecurityGroupEgress` in `AWS::EC2::SecurityGroup` as required. ## Context `GroupId` is a required parameter in [`AWS::EC2::SecurityGroupEgress`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-security-group-egress.html) type, however not in [AWS::EC2::SecurityGroup Egress](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html) The template...

When type checking the code below against troposphere 4.0.1, mypy complains about: ``` example.py:28: error: Value of type variable "__ResourceTypeVar" of "broken_bound" cannot be "List[AWSObject]" [type-var] example.py:29: error: Value of...

Opening for @MattJaccino based on questions in another issue. Not specific to WAFv2, but one thing that did strike me as odd was that resource objects can be successfully initialized...

For example in elasticache.ReplicationGroup we have to define Tag as: ` Tags=Tags({'Creator': creator_name}, {'Environment': env_type}) ` but in ec2.SecurityGroup we have to define as follow: ``` Tags=[Tag("Creator", creator_name), Tag("Environment", env_type)])...

Per the documents here https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-maintenancewindowtask-maintenancewindowlambdaparameters.html#cfn-ssm-maintenancewindowtask-maintenancewindowlambdaparameters-payload "Although Type is listed as "String" for this property, the payload content must be formatted as a Base64-encoded binary data object." https://github.com/cloudtools/troposphere/blob/main/troposphere/ssm.py#L194 validates that it's...

Based on the auto-gen work and @ITProKyle typing changes, I put together a quick prototype to allow for some intellisense functionality. This is a WIP. To try out: ``` -...

Needs further work

1) When using the WebACL, the only way I could get it to work was by changing the 'Rules' attribute from '(Rules, False)' to '([Rule], False)'. 2) When adding a...

Awaiting CF Spec Update