https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ec2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ec2/create-launch-template-version.rst
**To create a launch template version**

This example creates a new launch template version based on version 1 of the launch template and specifies a different AMI ID.

Command::

  aws ec2 create-launch-template-version --launch-template-id lt-0abcd290751193123 --version-description WebVersion2 --source-version 1 --launch-template-data '{"ImageId":"ami-c998b6b2"}'

Output::

  {
    "LaunchTemplateVersion": {
        "VersionDescription": "WebVersion2", 
        "LaunchTemplateId": "lt-0abcd290751193123", 
        "LaunchTemplateName": "WebServers", 
        "VersionNumber": 2, 
        "CreatedBy": "arn:aws:iam::123456789012:root", 
        "LaunchTemplateData": {
            "ImageId": "ami-c998b6b2", 
            "InstanceType": "t2.micro", 
            "NetworkInterfaces": [
                {
                    "Ipv6Addresses": [
                        {
                            "Ipv6Address": "2001:db8:1234:1a00::123"
                        }
                    ], 
                    "DeviceIndex": 0, 
                    "SubnetId": "subnet-7b16de0c", 
                    "AssociatePublicIpAddress": true
                }
            ]
        }, 
        "DefaultVersion": false, 
        "CreateTime": "2017-12-01T13:35:46.000Z"
    }
  }

https://t.me/RX1948 - 2025