Skip to content

Commit

Permalink
add taskdefinition example ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorrissirromb committed Jan 18, 2024
1 parent 594d1e6 commit 575cef4
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion rdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
77 changes: 77 additions & 0 deletions rdk/template/example_ci/AWS_ECS_TaskDefinition.json
Original file line number Diff line number Diff line change
@@ -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": {}
}

0 comments on commit 575cef4

Please sign in to comment.