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
demandé il y a 10 mois305 vues
1 réponse
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
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions