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
질문됨 10달 전304회 조회
1개 답변
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
전문가
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인