-
Notifications
You must be signed in to change notification settings - Fork 420
Quickstart not working #8
Comments
Ah, @backnight by default we boot all of the instances in
|
As far as the image not being found, cc @achille-roussel can you double check the public settings? |
AMIs are local to the region as well. I'll copy them to other regions. |
We've copied the AMIs to all EC2 regions, they will be selected automatically by default if you change the region. For the availability zones (and by extension the subnets) you should specify them manually, it's the best we can do for now. I tried to give a shot at having terraform dynamically select the right AZ and generate the subnets accordingly but it doesn't work, the subnet resources are generated dynamically via the If you know of a better way feel free to let me know and I'll give it a shot. See these PR for reference: |
Thanks guys for the reactivity. Just wanted to add a little information about @calvinfo first comment:
There is a mistyping, the AZ us-east1-c doesn't exist, there are : us-east-1d and us-east-1e BUT NO us-east1-c (for those who will copy past it). Have a nice day! |
Whoops, my mistake. Thanks for the feedback @backnight, I'll close this for now :) |
Is somebody updating the AMIs? Did a terraform apply earlier today no problems. Tried it again just now in
|
The AMIs were not changed to the best of my knowledge, however this AMI seems to be available for us-west-2, in us-east-1 the AMI id is ami-5f3ff932, not sure why the modules haven't selected the right AMI here :/ Was it working in a different region? |
Also can you confirm you're using the up-to-date master branch? |
I reverted to Terraform v0.6.16, as I believe one of my other issues stemmed from 0.7. I am now currently trying to do a
|
This is fixed by specifying |
Terraform v0.6.16 Here's my current base stack setup for
It's currently failing due to it finding the correct AMI when trying to setup the bastion server. I noticed the region is set incorrectly when running
It's also causing the incorrect AMI to be specified for ECS cluster and bastion servers. |
@adambarthelson Just by looking at the stack config, i think you're missing the module "stack" {
source = "github.com/segmentio/stack?ref=0.1"
name = "clientname"
environment = "demo"
key_name = "bastion-ssh"
availability_zones = "us-east-1d,us-east-1a,us-east-1b"
region = "us-east-1" // <- Missing from your config?
} If you're just getting started, i suggest you use the latest terraform, lots of fixes and new features! |
Hello,
I just wanted to try the "Quickstart" but got the following errors when running "terraform apply" command:
Error applying plan:
7 error(s) occurred:
status code: 400, request id: 18263fde-a8ef-4696-a08a-f0f4c7a76856
status code: 400, request id: 30d9c3c5-ab70-4607-ac53-727e89b99d95
status code: 400, request id: eabdf1f0-0e82-410e-843c-cf61968af01e
status code: 400, request id: 692192b3-822b-4149-9294-ac710b353586
status code: 400, request id: 38847188-311a-4edb-9c76-3a2782087f6f
status code: 400, request id: 3885f22e-823d-4d51-aa7b-1884feaf3dcd
status code: 400, request id: dc5aebf9-3abd-4232-a45d-71f75a3f5654
Thanks.
The text was updated successfully, but these errors were encountered: