如何使用Terraform删除网络ACL?

时间:2018-11-27 06:37:43

标签: terraform aws-vpc

我已经使用Terraform创建了vpc和网络ACL。我将terraform状态存储在s3存储桶中。在销毁环境时,我在网络ACL的刷新级别上面临该问题。 以下是错误日志:

aws_network_acl_rule.allow_egress_icmp_test: Refreshing state... (ID: nacl-3823017959)

    Error: Error refreshing state: 2 error(s) occurred:

* aws_network_acl_rule.allow_ingress_icmp_test: 1 error(s) occurred:

* aws_network_acl_rule.allow_ingress_icmp_test: aws_network_acl_rule.allow_ingress_icmp_test: Error Finding Network Acl Rule 300: InvalidNetworkAclID.NotFound: The networkAcl ID 'acl-0659a5ff4ef450c40' does not exist
status code: 400, request id: 2b7047fa-aae6-4ad5-9788-e0c7b3b46eac
* aws_network_acl_rule.allow_egress_icmp_test: 1 error(s) occurred:

0 个答案:

没有答案