Skip to content

Commit

Permalink
Merge pull request #7715 from terraform-providers/td-aws_instance-rem…
Browse files Browse the repository at this point in the history
…ove-deprecated

resource/aws_instance: Remove deprecated top-level network_interface_id attribute
  • Loading branch information
bflad authored Feb 25, 2019
2 parents 4772c39 + 9ccbc90 commit 6ca09ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion aws/resource_aws_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func resourceAwsInstance() *schema.Resource {
"network_interface_id": {
Type: schema.TypeString,
Computed: true,
Removed: "Use `primary_network_interface_id` instead",
Removed: "Use `primary_network_interface_id` attribute instead",
},

"primary_network_interface_id": {
Expand Down
1 change: 0 additions & 1 deletion website/docs/r/instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ In addition to all arguments above, the following attributes are exported:
is only available if you've enabled DNS hostnames for your VPC
* `public_ip` - The public IP address assigned to the instance, if applicable. **NOTE**: If you are using an [`aws_eip`](/docs/providers/aws/r/eip.html) with your instance, you should refer to the EIP's address directly and not use `public_ip`, as this field will change after the EIP is attached.
* `ipv6_addresses` - A list of assigned IPv6 addresses, if any
* `network_interface_id` - The ID of the network interface that was created with the instance.
* `primary_network_interface_id` - The ID of the instance's primary network interface.
* `private_dns` - The private DNS name assigned to the instance. Can only be
used inside the Amazon EC2, and only available if you've enabled DNS hostnames
Expand Down

0 comments on commit 6ca09ba

Please sign in to comment.