command
module
Version:
v0.0.0-...-edaa5c5
Opens a new window with list of versions in this module.
Published: Apr 18, 2017
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Trf

Export AWS resources to Terraform resources.
Disclaimer
This is built for fun only, not for production use, use this instead.
Prerequisites
- AWS credentials
Either,
export AWS_ACCESS_KEY_ID=MY-ACCESS-KEY
export AWS_SECRET_ACCESS_KEY=MY-SECRET-KEY
export AWS_REGION=my-region
Or,
# ~/.aws/credentials
[default]
aws_access_key_id = MY-ACCESS-KEY
aws_secret_access_key = MY-SECRET-KEY
Usage
# Usage:
# trf [global options] command [command options] [arguments...]
trf aos # Get OpsWorks Stack resource
Available Resources
| Command |
Resource Name |
| aos |
OpsWorks Stack |
| aocl |
OpsWorks Custom Layer |
| aoa |
OpsWorks Application |
Contributing
The normal workflow of adding a new resource
- Refer to AWS Cli reference for available commands & their response. e.g. for OpsWorks, http://docs.aws.amazon.com/cli/latest/reference/opsworks
- Refer to AWS SDK for Go API documentation for how to issue a command via API.
- Refer to Terraform AWS providers documentation when defining a struct for a particular resource.
License
MIT License
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
resource
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.