mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-10 08:03:08 -06:00
provider/aws: revert # -> % for tests
This commit is contained in:
parent
d175b04182
commit
0530cf963d
@ -45,7 +45,7 @@ func TestAccAWSAmiDataSource_natInstance(t *testing.T) {
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "state", "available"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "state_reason.code", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "state_reason.message", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "tags.%", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "tags.#", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.nat_ami", "virtualization_type", "hvm"),
|
||||
),
|
||||
},
|
||||
@ -82,7 +82,7 @@ func TestAccAWSAmiDataSource_windowsInstance(t *testing.T) {
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "state", "available"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "state_reason.code", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "state_reason.message", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "tags.%", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "tags.#", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.windows_ami", "virtualization_type", "hvm"),
|
||||
),
|
||||
},
|
||||
@ -116,7 +116,7 @@ func TestAccAWSAmiDataSource_instanceStore(t *testing.T) {
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "state", "available"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "state_reason.code", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "state_reason.message", "UNSET"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "tags.%", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "tags.#", "0"),
|
||||
resource.TestCheckResourceAttr("data.aws_ami.instance_store_ami", "virtualization_type", "hvm"),
|
||||
),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user