Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include supported properties in the #529

Open
charitha0798 opened this issue Sep 25, 2024 · 0 comments
Open

Include supported properties in the #529

charitha0798 opened this issue Sep 25, 2024 · 0 comments

Comments

@charitha0798
Copy link

The CI for the resource type AWS::EC2::Instance shows all the properties listed below while a few of them are not listed in the github doc :

  1. configuration.metadataOptions.httpEndpoint
  2. configuration.metadataOptions.httpPutResponseHopLimit
  3. configuration.metadataOptions.httpTokens
  4. configuration.metadataOptions.state

NOT PRESENT IN THE GITHUB LINK:
5. configuration.metadataOptions.httpProtocolIpv6
6. configuration.metadataOptions.instanceMetadataTags

Hence, please update git doc to include both of the below items:

configuration.metadataOptions.httpProtocolIpv6
configuration.metadataOptions.instanceMetadataTags

EXAMPLE CI :
{ "version": "1.3", "accountId": "3XXXXXXXXXX45", "configurationItemCaptureTime": "2024-06-10T09:43:56.473Z", "configurationItemStatus": "OK", "configurationStateId": "1718012636473", "configurationItemMD5Hash": "", "arn": "arn:aws:ec2:us-east-1:3XXXXXXXXXX45:instance/i-07d9f192902435431", "resourceType": "AWS::EC2::Instance", "resourceId": "i-07d9f192902435431", "awsRegion": "us-east-1", "availabilityZone": "us-east-1c", "resourceCreationTime": "2024-06-10T09:42:27.000Z", "tags": { "auto-delete": "no", "awssupport:patchwork": "patch", "InstanceOwner": "[email protected]", "Name": "KibanaSSHFoxyProxy", "lastname": "B." }, "relatedEvents": [], "relationships": [ { "resourceType": "AWS::EC2::Volume", "resourceId": "vol-00568db8fb6063043", "relationshipName": "Is attached to Volume" }, { "resourceType": "AWS::EC2::VPC", "resourceId": "vpc-00dd3ba177a4ebdd1", "relationshipName": "Is contained in Vpc" }, { "resourceType": "AWS::EC2::Subnet", "resourceId": "subnet-012e1337206fa2f17", "relationshipName": "Is contained in Subnet" }, { "resourceType": "AWS::EC2::SecurityGroup", "resourceId": "sg-0869ff5a2a6b6fde2", "relationshipName": "Is associated with SecurityGroup" }, { "resourceType": "AWS::EC2::NetworkInterface", "resourceId": "eni-00aa071c827334011", "relationshipName": "Contains NetworkInterface" } ], "configuration": { "amiLaunchIndex": 0, "imageId": "ami-0c2b8ca1dad447f8a", "instanceId": "i-07d9f192902435431", "instanceType": "t2.micro", "kernelId": null, "keyName": "linux_keypair", "launchTime": "2024-06-10T09:42:27.000Z", "monitoring": { "state": "disabled" }, "placement": { "availabilityZone": "us-east-1c", "affinity": null, "groupName": "", "partitionNumber": null, "hostId": null, "tenancy": "default", "spreadDomain": null, "hostResourceGroupArn": null, "groupId": null }, "platform": null, "privateDnsName": "ip-192-169-2-245.ec2.internal", "privateIpAddress": "192.169.2.245", "productCodes": [], "publicDnsName": "ec2-34-238-163-109.compute-1.amazonaws.com", "publicIpAddress": "34.238.163.109", "ramdiskId": null, "state": { "code": 16, "name": "running" }, "stateTransitionReason": "", "subnetId": "subnet-012e1337206fa2f17", "vpcId": "vpc-00dd3ba177a4ebdd1", "architecture": "x86_64", "blockDeviceMappings": [ { "deviceName": "/dev/xvda", "ebs": { "attachTime": "2021-08-19T10:19:37.000Z", "deleteOnTermination": true, "status": "attached", "volumeId": "vol-00568db8fb6063043", "associatedResource": null, "volumeOwnerId": null } } ], "clientToken": "", "ebsOptimized": false, "enaSupport": true, "hypervisor": "xen", "iamInstanceProfile": { "arn": "arn:aws:iam::3XXXXXXXXXX45:instance-profile/AWSSupportPatchwork-SSMRoleForInstances", "id": "AIPAU2VIV6XMVMU6YJPA4" }, "instanceLifecycle": null, "elasticGpuAssociations": [], "elasticInferenceAcceleratorAssociations": [], "networkInterfaces": [ { "association": { "carrierIp": null, "customerOwnedIp": null, "ipOwnerId": "amazon", "publicDnsName": "ec2-34-238-163-109.compute-1.amazonaws.com", "publicIp": "34.238.163.109" }, "attachment": { "attachTime": "2021-08-19T10:19:36.000Z", "attachmentId": "eni-attach-0433c3cfb04bab1e3", "deleteOnTermination": true, "deviceIndex": 0, "status": "attached", "networkCardIndex": 0, "enaSrdSpecification": null }, "description": "Primary network interface", "groups": [ { "groupName": "VPCElasticSearch", "groupId": "sg-0869ff5a2a6b6fde2" } ], "ipv6Addresses": [], "macAddress": "0e:03:9c:19:cd:5b", "networkInterfaceId": "eni-00aa071c827334011", "ownerId": "3XXXXXXXXXX45", "privateDnsName": "ip-192-169-2-245.ec2.internal", "privateIpAddress": "192.169.2.245", "privateIpAddresses": [ { "association": { "carrierIp": null, "customerOwnedIp": null, "ipOwnerId": "amazon", "publicDnsName": "ec2-34-238-163-109.compute-1.amazonaws.com", "publicIp": "34.238.163.109" }, "primary": true, "privateDnsName": "ip-192-169-2-245.ec2.internal", "privateIpAddress": "192.169.2.245" } ], "sourceDestCheck": true, "status": "in-use", "subnetId": "subnet-012e1337206fa2f17", "vpcId": "vpc-00dd3ba177a4ebdd1", "interfaceType": "interface", "ipv4Prefixes": [], "ipv6Prefixes": [], "connectionTrackingConfiguration": null } ], "outpostArn": null, "rootDeviceName": "/dev/xvda", "rootDeviceType": "ebs", "securityGroups": [ { "groupName": "VPCElasticSearch", "groupId": "sg-0869ff5a2a6b6fde2" } ], "sourceDestCheck": true, "spotInstanceRequestId": null, "sriovNetSupport": null, "stateReason": null, "tags": [ { "key": "InstanceOwner", "value": "[email protected]" }, { "key": "auto-delete", "value": "no" }, { "key": "awssupport:patchwork", "value": "patch" }, { "key": "Name", "value": "KibanaSSHFoxyProxy" }, { "key": "lastname", "value": "B." } ], "virtualizationType": "hvm", "cpuOptions": { "coreCount": 1, "threadsPerCore": 1, "amdSevSnp": null }, "capacityReservationId": null, "capacityReservationSpecification": { "capacityReservationPreference": "open", "capacityReservationTarget": null }, "hibernationOptions": { "configured": false }, "licenses": [], "metadataOptions": { "state": "applied", "httpTokens": "optional", "httpPutResponseHopLimit": 1, "httpEndpoint": "enabled", "httpProtocolIpv6": "disabled", "instanceMetadataTags": "disabled" }, "enclaveOptions": { "enabled": false }, "bootMode": null, "platformDetails": "Linux/UNIX", "usageOperation": "RunInstances", "usageOperationUpdateTime": "2021-08-19T10:19:36.000Z", "privateDnsNameOptions": { "hostnameType": "ip-name", "enableResourceNameDnsARecord": false, "enableResourceNameDnsAAAARecord": false }, "ipv6Address": null, "tpmSupport": null, "maintenanceOptions": { "autoRecovery": "default" }, "currentInstanceBootMode": null }, "supplementaryConfiguration": {} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant