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
feita há 10 meses305 visualizações
1 Resposta
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
ESPECIALISTA
respondido há 10 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas