Skip to content

Commit

Permalink
Remove unneeded schema items, fix docs conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ddericco committed Sep 15, 2022
1 parent 810926c commit ae5cc7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions internal/service/directconnect/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,33 +73,6 @@ func ResourceConnection() *schema.Resource {
Default: false,
ForceNew: true,
},
// The MAC Security (MACsec) security keys associated with the connection.
"macsec_keys": {
// Slice of type MacSecKey
Type: schema.TypeList,
Computed: true,
Optional: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"secret_arn": {
Type: schema.TypeString,
Computed: true,
},
"ckn": {
Type: schema.TypeString,
Computed: true,
},
"state": {
Type: schema.TypeString,
Computed: true,
},
"start_on": {
Type: schema.TypeString,
Computed: true,
},
},
},
},
"name": {
Type: schema.TypeString,
Required: true,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dx_connection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ In addition to all arguments above, the following attributes are exported:
* `macsec_capable` - Boolean value indicating whether the connection supports MAC Security (MACsec).
* `owner_account_id` - The ID of the AWS account that owns the connection.
* `port_encryption_status` - The MAC Security (MACsec) port link status of the connection.
* `tags_all` - A map of tags assigned to the resource, including those inherited from the provider [`default_tags` configuration block](/docs/providers/aws/index.html#default_tags-configuration-block).
* `tags_all` - A map of tags assigned to the resource, including those inherited from the provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block).

## Import

Expand Down

0 comments on commit ae5cc7f

Please sign in to comment.