Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

CdkSampleInitStack was rollbacked. #7

Open
yuuu opened this issue Dec 14, 2019 · 0 comments
Open

CdkSampleInitStack was rollbacked. #7

yuuu opened this issue Dec 14, 2019 · 0 comments

Comments

@yuuu
Copy link

yuuu commented Dec 14, 2019

I created aws-rails-provisioner.yml like below and ran aws-rails-provisioner deploy.

version: '0'

vpc:
  max_az: 2
  enable_dns: true
services:
  provisioner_sample:
    source_path: ./app # relative path from `aws-rails-provisioner.yml`
    fargate:
      desired_count: 2
      memory: 512
      cpu: 256
      envs:
        PORT: 80
        RAILS_LOG_TO_STDOUT: true
      public: true
    scaling:
      max_capacity: 5
      on_cpu:
        target_util_percent: 80
        scale_in_cool_down: 300
      on_requests:
        requests_per_target: 1000

ROLLBACK has occurred in CdkSampleInitStack of CloudFormation. The details of the error are as follows.

ID: VpcapplicationSubnet2Subnet29670962

Value (ap-northeast-1b) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: ap-northeast-1c, ap-northeast-1d, ap-northeast-1a. (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterValue; Request ID: ec4fb9e1-b9a6-4cd2-9393-b2348ac93068)

Probably, it is caused by the fact that ap-northeast-1b is not selectable among AZ of ap-northeast-1. Is there any workaround?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant