Step Details | |
Introduced in Version | 3.0.0 |
Last Modified in Version | 7.0.0 |
Location | Integration > Amazon AWS > EC2 |
The Attach Internet Gateway step is used to assign an internet gateway to be used by a VPC.
Prerequisites
- This step requires the Amazon AWS Module to be installed before it will be available in the toolbox, and an active AWS account. The Amazon WebServices Settings must also be configured.
- A dependency must be created after installing the module in order for the the steps to be properly used.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Internet Gateway Id | Id of the internet gateway to attach to a VPC. | String |
Region | The Amazon AWS region the instance is associated with. | AmazonAWSRegion |
Vpc Id | Id of the VPC to attach an internet gateway to. | String |
Common Errors
AWS Was Not Able to Validate the Provided Access Credentials.
If the access credentials established in system settings are invalid, the step will cause an error.
To correct this, ensure the Access Key Id and Secret Access Key are both correct and active.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Assign Elastic Ip To Instance Standard 1[AssignElasticIpToInstanceStandard] in flow [Step Flows]: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> DecisionsFramework.LoggedException: Exception invoking method AssignElasticIpToInstanceStandard on class AmazonEC2Core
---> Amazon.EC2.AmazonEC2Exception: AWS was not able to validate the provided access credentials
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.EC2.Internal.AmazonEC2ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---
Resource 'igw-xxxxxxxxxxxxxxxxx' is Already Attached to Network 'vpc-xxxxxxxxxxxxxxxxx.'
If the specified internet gateway is already attached to a VPC, the step will cause an error.
To correct this, create a new internet gateway or select an internet gateway that is not attached yet to attach to the specified VPC.
Exception Message:
DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Attach Internet Gateway 1[AttachInternetGateway] in flow [Step Flows]: Exception invoking method AttachInternetGateway on class AmazonEC2Core
---> DecisionsFramework.LoggedException: Exception invoking method AttachInternetGateway on class AmazonEC2Core
---> Amazon.EC2.AmazonEC2Exception: resource igw-0f862f5deccf12c91 is already attached to network vpc-0c2c998dce9e6eb8c
---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.EC2.Internal.AmazonEC2ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
--- End of inner exception stack trace ---
Related Information
Related Articles:
EC2