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
gefragt vor 10 Monaten305 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen