AWS File Storage Gateway with Terraform

0

Trying to set up an AWS storage Gateway with an ec2 via Terraform.

Terraform module: aws_storagegateway_gateway terraform inputs: gateway ip address = ec2 Public IP address gateway name = sample gateway timeZone = GMT gateway_type = FILE_S3

On terraform APPLY, process runs for long. Errors out with:

retrieving activation key from IP Address(3.91.252.60): making HTTP request: Get "http://<public ip>/?activationRegion=us-east-2" context deadline exceeded(Client.Timeout exceeded while awaiting headers)
  • What type of gateway are you trying to setup? S3/Tape/FSX?

    Can you supply your whole TF resource?

Swee
asked 9 months ago287 views
1 Answer
0

This may be where your problem lies.. Gateway must be accessible on port 80 from where Terraform is running.

TF needs to be able to connect to the Gateway IP Address.

However, when creating via the GUI it also requires EC2 details (VPC/SUBNET) which I cant see in the TF Documentation

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions