Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform Ncloud Provider Version
Terraform version : v1.5.2
Ncloud Provider version : main(2.3.18)
Affected Resource(s)
ncloud_autoscaling*
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
# None
Debug Output
--- FAIL: TestAccResourceNcloudAutoScalingSchedule_classic_disappears (1.38s)
resource_ncloud_auto_scaling_schedule_test.go:66: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: Missing required argument
on terraform_plugin_test.tf line 17, in resource "ncloud_auto_scaling_schedule" "test-schedule":
17: resource "ncloud_auto_scaling_schedule" "test-schedule" {
The argument "desired_capacity" is required, but no definition was found.
--- FAIL: TestAccResourceNcloudAutoScalingSchedule_classic_basic (1.39s)
resource_ncloud_auto_scaling_schedule_test.go:20: Step 1/1 error: Error running pre-apply refresh: exit status 1
Error: Missing required argument
on terraform_plugin_test.tf line 17, in resource "ncloud_auto_scaling_schedule" "test-schedule":
17: resource "ncloud_auto_scaling_schedule" "test-schedule" {
The argument "desired_capacity" is required, but no definition was found.
--- FAIL: TestAccResourceNcloudAutoScalingGroup_classic_disappears (0.73s)
resource_ncloud_auto_scaling_group_test.go:74: Step 1/1 error: Error running apply: exit status 1
Error: Status: 500 Internal Server Error, Body: {
"responseError": {
"returnCode": "1000",
"returnMessage": "Please try your call again later.\nTemporarily out of service.\nIf error continue, Please contact our customer service center."
}
}
with ncloud_launch_configuration.lc,
on terraform_plugin_test.tf line 3, in resource "ncloud_launch_configuration" "lc":
3: resource "ncloud_launch_configuration" "lc" {
--- FAIL: TestAccResourceNcloudAutoScalingGroup_classic_basic (2.13s)
resource_ncloud_auto_scaling_group_test.go:15: Step 1/2 error: Error running apply: exit status 1
Error: Status: 500 Internal Server Error, Body: {
"responseError": {
"returnCode": "1000",
"returnMessage": "Please try your call again later.\nTemporarily out of service.\nIf error continue, Please contact our customer service center."
}
}
with ncloud_launch_configuration.lc,
on terraform_plugin_test.tf line 3, in resource "ncloud_launch_configuration" "lc":
3: resource "ncloud_launch_configuration" "lc" {
--- FAIL: TestAccResourceNcloudAutoScalingSchedule_vpc_basic (3.09s)
resource_ncloud_auto_scaling_schedule_test.go:43: Step 1/1 error: Error running apply: exit status 1
Error: Status: 400 Bad Request, Body: {
"responseError": {
"returnCode": "1015009",
"returnMessage": "You can no longer create a product."
}
}
with ncloud_vpc.test,
on terraform_plugin_test.tf line 3, in resource "ncloud_vpc" "test":
3: resource "ncloud_vpc" "test" {
--- FAIL: TestAccResourceNcloudAutoScalingGroup_vpc_basic (3.15s)
resource_ncloud_auto_scaling_group_test.go:44: Step 1/2 error: Error running apply: exit status 1
Error: Status: 400 Bad Request, Body: {
"responseError": {
"returnCode": "1015009",
"returnMessage": "You can no longer create a product."
}
}
with ncloud_vpc.test,
on terraform_plugin_test.tf line 3, in resource "ncloud_vpc" "test":
3: resource "ncloud_vpc" "test" {
--- FAIL: TestAccResourceNcloudAutoScalingPolicy_vpc_basic (3.18s)
resource_ncloud_auto_scaling_policy_test.go:56: Step 1/1 error: Error running apply: exit status 1
Error: Status: 400 Bad Request, Body: {
"responseError": {
"returnCode": "1015009",
"returnMessage": "You can no longer create a product."
}
}
with ncloud_vpc.test,
on terraform_plugin_test.tf line 3, in resource "ncloud_vpc" "test":
3: resource "ncloud_vpc" "test" {
--- FAIL: TestAccResourceNcloudAutoScalingGroup_vpc_disappears (3.18s)
resource_ncloud_auto_scaling_group_test.go:96: Step 1/1 error: Error running apply: exit status 1
Error: Status: 400 Bad Request, Body: {
"responseError": {
"returnCode": "1015009",
"returnMessage": "You can no longer create a product."
}
}
with ncloud_vpc.test,
on terraform_plugin_test.tf line 3, in resource "ncloud_vpc" "test":
3: resource "ncloud_vpc" "test" {
panic: runtime error: index out of range [0] with length 0
Panic Output
Expected Behavior
Pass the test
Actual Behavior
Test failure
There are resource limitations while testing the autoscaling, so we need to change them so they don't run in parallel
Steps to Reproduce
export NCLOUD_REGION=KR
export NCLOUD_ACCESS_KEY=xxx
export NCLOUD_SECRET_KEY=xxx
TF_ACC=1 go test ./internal/autoscaling/... -run=TestAccResourceNcloudAutoScaling -v
Community Note
Terraform CLI and Terraform Ncloud Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Pass the test
Actual Behavior
Test failure
Steps to Reproduce
Important Factoids
References