Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Attach Internet Gateway

Prev Next
Step Details
Introduced in Version3.0.0
Last Modified in Version7.0.0
LocationIntegration > Amazon AWS > EC2

The Attach Internet Gateway step is used to assign an internet gateway to be used by a VPC.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
Internet Gateway IdId of the internet gateway to attach to a VPC.String
RegionThe Amazon AWS region the instance is associated with.AmazonAWSRegion
Vpc IdId 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

AWS