cloud-native-toolkit / terraform-tools-gitops

Module to create a GitOps repository
6 stars 6 forks source link

Creating a new VPC will put the user over quota. #94

Open vishal-ramani opened 2 years ago

vishal-ramani commented 2 years ago

When we running apply.sh in container In the backend it will create a IBM cloud infra resources including VPC. When I run apply.sh script got over quota error.

/terraform/watson-core-serving $ sh apply.sh Error: │ Error: [ERROR] Error while creating VPC { │ "Message": "Creating a new VPC will put the user over quota. Allocated: 10, Requested: 1, Quota: 10", │ "StatusCode": 400, │ "Result": { │ "errors": [ │ { │ "code": "over_quota", │ "message": "Creating a new VPC will put the user over quota. Allocated: 10, Requested: 1, Quota: 10", │ "more_info": "https://cloud.ibm.com/docs/vpc?topic=vpc-quotas" │ } │ ], │ "trace": "4e71c738-3c26-4fa0-aa11-af1832b41774" │ } │ } │ │ │ with module.ibm-vpc.ibm_is_vpc.vpc[0], │ on .terraform/modules/ibm-vpc/main.tf line 33, in resource "ibm_is_vpc" "vpc": │ 33: resource ibm_is_vpc vpc {

vishal-ramani commented 2 years ago

To fix this issue we have to delete unused VPC as we have 10 VPC quota per region or will have to specify existing VPC in our ibm-vpc_name parameter.