Skip to content

Commit

Permalink
Merge pull request #17834 from shuheiktgw/correct_aws_network_acl_arn
Browse files Browse the repository at this point in the history
aws_network_acl: Correct the ARN account id
  • Loading branch information
breathingdust authored Mar 17, 2021
2 parents 9b9a116 + 345d7e9 commit b68643b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion aws/resource_aws_network_acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func resourceAwsNetworkAclRead(d *schema.ResourceData, meta interface{}) error {
Partition: meta.(*AWSClient).partition,
Service: ec2.ServiceName,
Region: meta.(*AWSClient).region,
AccountID: meta.(*AWSClient).accountid,
AccountID: aws.StringValue(networkAcl.OwnerId),
Resource: fmt.Sprintf("network-acl/%s", d.Id()),
}.String()

Expand Down
2 changes: 0 additions & 2 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ for more information about connecting to alternate AWS endpoints or AWS compatib
- [`aws_budgets_budget` resource](/docs/providers/aws/r/budgets_budget.html)
- [`aws_cognito_identity_pool` resource](/docs/providers/aws/r/cognito_identity_pool.html)
- [`aws_cognito_user_pools` data source](/docs/providers/aws/d/cognito_user_pools.html)
- [`aws_default_network_acl` resource](/docs/providers/aws/r/default_network_acl.html)
- [`aws_default_vpc_dhcp_options`](/docs/providers/aws/r/default_vpc_dhcp_options.html)
- [`aws_dms_event_subscription` resource](/docs/providers/aws/r/dms_event_subscription.html)
- [`aws_dms_replication_subnet_group` resource](/docs/providers/aws/r/dms_replication_subnet_group.html)
Expand Down Expand Up @@ -306,7 +305,6 @@ for more information about connecting to alternate AWS endpoints or AWS compatib
- [`aws_key_pair` resource](/docs/providers/aws/r/key_pair.html)
- [`aws_launch_template` data source](/docs/providers/aws/d/launch_template.html)
- [`aws_launch_template` resource](/docs/providers/aws/r/launch_template.html)
- [`aws_network_acl` resource](/docs/providers/aws/r/network_acl.html)
- [`aws_placement_group` resource](/docs/providers/aws/r/placement_group.html)
- [`aws_redshift_cluster` resource](/docs/providers/aws/r/redshift_cluster.html)
- [`aws_redshift_event_subscription` resource](/docs/providers/aws/r/redshift_event_subscription.html)
Expand Down

0 comments on commit b68643b

Please sign in to comment.