diff --git a/pyproject.toml b/pyproject.toml index f6d14fa..257a601 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ # or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. [tool.poetry] name = "rdk" -version = "0.17.7" +version = "0.17.8" description = "Rule Development Kit CLI for AWS Config" authors = [ "AWS RDK Maintainers ", diff --git a/rdk/__init__.py b/rdk/__init__.py index f341059..3f94f87 100644 --- a/rdk/__init__.py +++ b/rdk/__init__.py @@ -6,4 +6,4 @@ # # or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -MY_VERSION = "0.17.7" +MY_VERSION = "0.17.8" diff --git a/rdk/template/example_ci/AWS_ECS_TaskDefinition.json b/rdk/template/example_ci/AWS_ECS_TaskDefinition.json new file mode 100644 index 0000000..98b530e --- /dev/null +++ b/rdk/template/example_ci/AWS_ECS_TaskDefinition.json @@ -0,0 +1,77 @@ +{ + "version": "1.3", + "accountId": "111111111111", + "configurationItemCaptureTime": "2024-01-18T21:47:11.981Z", + "configurationItemStatus": "ResourceDiscovered", + "configurationStateId": "1705614431981", + "configurationItemMD5Hash": "", + "arn": "arn:aws:ecs:us-west-2:111111111111:task-definition/testtaskdef:1", + "resourceType": "AWS::ECS::TaskDefinition", + "resourceId": "testtaskdef", + "resourceName": "testtaskdef:1", + "awsRegion": "us-west-2", + "availabilityZone": "Regional", + "tags": {}, + "relatedEvents": [], + "relationships": [], + "configuration": { + "ContainerDefinitions": [ + { + "Name": "test", + "Image": "arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2023-x86-2023/2023.10.12", + "Cpu": 0, + "Links": [], + "PortMappings": [ + { + "ContainerPort": 80, + "HostPort": 80, + "Protocol": "tcp", + "Name": "test-80-tcp", + "AppProtocol": "http" + } + ], + "Essential": true, + "EntryPoint": [], + "Command": [], + "Environment": [], + "EnvironmentFiles": [], + "MountPoints": [], + "VolumesFrom": [], + "Secrets": [], + "DependsOn": [], + "DnsServers": [], + "DnsSearchDomains": [], + "ExtraHosts": [], + "DockerSecurityOptions": [], + "DockerLabels": {}, + "Ulimits": [], + "LogConfiguration": { + "LogDriver": "awslogs", + "Options": { + "awslogs-group": "/ecs/testtaskdef", + "awslogs-region": "us-west-2", + "awslogs-create-group": "true", + "awslogs-stream-prefix": "ecs" + }, + "SecretOptions": [] + }, + "SystemControls": [], + "ResourceRequirements": [], + "CredentialSpecs": [] + } + ], + "Cpu": "1024", + "ExecutionRoleArn": "arn:aws:iam::111111111111:role/ecsTaskExecutionRole", + "Family": "testtaskdef", + "InferenceAccelerators": [], + "Memory": "3072", + "NetworkMode": "awsvpc", + "PlacementConstraints": [], + "RequiresCompatibilities": ["EC2", "FARGATE"], + "Status": "ACTIVE", + "Tags": [], + "TaskDefinitionArn": "arn:aws:ecs:us-west-2:111111111111:task-definition/testtaskdef:1", + "Volumes": [] + }, + "supplementaryConfiguration": {} +}