You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ECS has been created some time ago with the 'power_action = "OFF"'.
Today I have removed the 'power_action = "OFF"' line and ran plan. Here is the plan output:
~ resource "huaweicloud_compute_instance" "server" {
id = "[skipped]"
name = "[skipped]"
- power_action = "OFF" -> null
tags = {
"service" = "[skipped]"
}
# (17 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
However, apply process failed with the error message:
│ Error: Doing power action () for instance ([skipped]) failed: The powerMap does not contain option ()
│
│ with module.[skipped].huaweicloud_compute_instance.server[0],
│ on ../modules/cluster/server.tf line 1, in resource "huaweicloud_compute_instance" "server":
│ 1: resource "huaweicloud_compute_instance" "server" {
│
Actual Behavior
Apply process failed to remove the power_action flag.
Expected Behavior
I think the 'power_action = "OFF"' flag should just be removed. There is no need to power on server or something. Just remove the "OFF" flag.
The text was updated successfully, but these errors were encountered:
Hello,
Terraform Version
Affected Resource(s)
huaweicloud_compute_instance
Actual Behavior
Apply process failed to remove the power_action flag.
Expected Behavior
I think the 'power_action = "OFF"' flag should just be removed. There is no need to power on server or something. Just remove the "OFF" flag.
The text was updated successfully, but these errors were encountered: