Categorygithub.com/prasannakumarik25/https-github.com-mavrick202-terraformsingleinstancebuilderamazoncommon
package
0.12.3
Repository: https://github.com/prasannakumarik25/https-github.com-mavrick202-terraformsingleinstance.git
Documentation: pkg.go.dev
# Functions
AMIStateRefreshFunc returns a StateRefreshFunc that is used to watch an AMI for state changes.
No description provided by the author
No description provided by the author
No description provided by the author
InstanceStateRefreshFunc returns a StateRefreshFunc that is used to watch an EC2 instance.
Return a new CLIConfig with stored profile settings.
Returns 2 seconds by default AWS async operations sometimes takes long times, if there are multiple parallel builds, polling at 2 second frequency will exceed the request limit.
SpotRequestStateRefreshFunc returns a StateRefreshFunc that is used to watch a spot request for state changes.
SSHConfig returns a function that can be used for the SSH communicator config for connecting to the instance created over SSH using the private key or password.
SSHHost returns a function that can be given to the SSH communicator for determining the SSH address based on the instance DNS name.
Returns 300 seconds (5 minutes) by default Some AWS operations, like copying an AMI to a distant region, take a very long time Allow user to override with AWS_TIMEOUT_SECONDS environment variable.
ValidateRegion returns true if the supplied region is a valid AWS region and false if it's not.
WaitForState watches an object and waits for it to achieve a certain state.
# Variables
No description provided by the author
# Structs
AccessConfig is for common configuration related to AWS access.
No description provided by the author
AMIConfig is for common configuration related to creating AMIs.
No description provided by the author
Artifact is an artifact implementation that contains built AMIs.
BlockDevice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RunConfig contains configuration for running an instance from a source AMI and details on how to access that launched image.
StateChangeConf is the configuration struct used for `WaitForState`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StepGetPassword reads the password from a Windows server and sets it on the WinRM config.
No description provided by the author
No description provided by the author
No description provided by the author
StepPreValidate provides an opportunity to pre-validate any configuration for the build before actually doing any time consuming work
.
No description provided by the author
No description provided by the author
StepSourceAMIInfo extracts critical information from the source AMI that is used throughout the AMI creation process.
No description provided by the author
No description provided by the author
# Type aliases
StateRefreshFunc is a function type used for StateChangeConf that is responsible for refreshing the item being watched for a state change.