mirror of
https://github.com/opentofu/opentofu.git
synced 2026-05-28 04:15:54 -04:00
Some checks are pending
build / Build for freebsd_386 (push) Waiting to run
build / Build for linux_386 (push) Waiting to run
build / Build for openbsd_386 (push) Waiting to run
build / Build for windows_386 (push) Waiting to run
build / Build for freebsd_amd64 (push) Waiting to run
build / Build for linux_amd64 (push) Waiting to run
build / Build for openbsd_amd64 (push) Waiting to run
build / Build for solaris_amd64 (push) Waiting to run
build / Build for windows_amd64 (push) Waiting to run
build / Build for freebsd_arm (push) Waiting to run
build / Build for linux_arm (push) Waiting to run
build / Build for linux_arm64 (push) Waiting to run
build / Build for darwin_amd64 (push) Waiting to run
build / Build for darwin_arm64 (push) Waiting to run
build / End-to-end Tests for linux_386 (push) Waiting to run
build / End-to-end Tests for windows_386 (push) Waiting to run
build / End-to-end Tests for darwin_amd64 (push) Waiting to run
build / End-to-end Tests for linux_amd64 (push) Waiting to run
build / End-to-end Tests for windows_amd64 (push) Waiting to run
Quick Checks / List files changed for pull request (push) Waiting to run
Quick Checks / Unit tests for linux_386 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_amd64 (push) Blocked by required conditions
Quick Checks / Unit tests for windows_amd64 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_arm (push) Blocked by required conditions
Quick Checks / Unit tests for darwin_arm64 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_arm64 (push) Blocked by required conditions
Quick Checks / Race Tests (push) Blocked by required conditions
Quick Checks / End-to-end Tests (push) Blocked by required conditions
Quick Checks / Code Consistency Checks (push) Blocked by required conditions
Quick Checks / License Checks (push) Waiting to run
Website checks / List files changed for pull request (push) Waiting to run
Website checks / Build (push) Blocked by required conditions
Website checks / Test Installation Instructions (push) Blocked by required conditions
Implicit move statement for modules previously using `count` and then moving to use `enabled`, or vice versa. Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
59 lines
1.1 KiB
HCL
59 lines
1.1 KiB
HCL
# This fixture is useful only in conjunction with a previous run state that
|
|
# conforms to the statements encoded in the resource names. It's for
|
|
# TestImpliedMoveStatements only.
|
|
|
|
resource "foo" "formerly_count" {
|
|
# but not count anymore
|
|
}
|
|
|
|
resource "foo" "now_count" {
|
|
count = 2
|
|
}
|
|
|
|
resource "foo" "new_no_count" {
|
|
}
|
|
|
|
resource "foo" "new_count" {
|
|
count = 2
|
|
}
|
|
|
|
resource "foo" "formerly_count_explicit" {
|
|
# but not count anymore
|
|
}
|
|
|
|
moved {
|
|
from = foo.formerly_count_explicit[1]
|
|
to = foo.formerly_count_explicit
|
|
}
|
|
|
|
resource "foo" "now_count_explicit" {
|
|
count = 2
|
|
}
|
|
|
|
moved {
|
|
from = foo.now_count_explicit
|
|
to = foo.now_count_explicit[1]
|
|
}
|
|
|
|
resource "foo" "now_for_each_formerly_count" {
|
|
for_each = { a = 1 }
|
|
}
|
|
|
|
resource "foo" "now_for_each_formerly_no_count" {
|
|
for_each = { a = 1 }
|
|
}
|
|
|
|
resource "foo" "ambiguous" {
|
|
# this one doesn't have count in the config, but the test should
|
|
# set it up to have both no-key and zero-key instances in the
|
|
# state.
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
}
|
|
|
|
module "child_count_one" {
|
|
source = "./no-move-child"
|
|
count = 1
|
|
}
|