CreateInstance

command
v0.0.0-...-9d6317c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[ec2.go-v2.CreateInstance]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL