8000 tencentcloud_vpc_acl missing rule status · Issue #1074 · tencentcloudstack/terraform-provider-tencentcloud · GitHub
[go: up one dir, main page]

Skip to content
tencentcloud_vpc_acl missing rule status #1074
Open
@djluo

Description

@djluo

Community Note

  • 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 "me too" comments, 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 Version

Terraform v1.2.2
on darwin_amd64
provider registry.terraform.io/tencentcloudstack/tencentcloud v1.72.7

Affected Resource(s)

  • tencentcloud_vpc_acl

Terraform Configuration Files

resource "tencentcloud_vpc_acl" "oc" {
  vpc_id  = tencentcloud_vpc.vpc.id
  name    = "only_accept_oc"
  ingress = [
    "ACCEPT#10.255.0.0/16#ALL#ALL",
  ]
  egress  = [
    "ACCEPT#10.255.0.0/16#ALL#ALL",
  ]
}

resource "tencentcloud_vpc_acl_attachment" "attachment" {
  acl_id    = tencentcloud_vpc_acl.oc.id
  subnet_id = tencentcloud_subnet.subnet.id
}

Plan Always output


Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.nucleus-tencent2.tencentcloud_vpc_acl.oc will be updated in-place
  ~ resource "tencentcloud_vpc_acl" "oc" {
      ~ egress      = [
          + "ACCEPT#10.255.0.0/16#ALL#ALL",
        ]
        id          = "acl-i0fikcbm"
      ~ ingress     = [
          + "ACCEPT#10.255.0.0/16#ALL#ALL",
        ]
        name        = "only_accept_oc"
        # (2 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply
  2. terraform plan
  3. terraform apply
  4. terraform plan

猜测

egress、ingress规则并没有保存到 terraform.tfstate中。
plan、apply就一直重复操作它了。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0