command
Version:
v0.0.0-...-9d6317c
Opens a new window with list of versions in this module.
Published: Mar 2, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
CreateInstancev2.go
This example creates a T2-Micro instance from the Amazon EC2 image ami-e7527ed7 and attaches a tag to the instance.
go run CreateInstancev2.go -n TAG-NAME -v TAG-VALUE
- TAG-NAME is the name of the tag to attach to the instance.
- TAG-VALUE is the value of the tag to attach to the instance.
The unit test accepts similar values in config.json.
Documentation
¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX - License - Identifier: Apache - 2.0
snippet-start:[ec2.go-v2.CreateInstance]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.