From ae5cc7f292a8415380754361bc9b1852d6883671 Mon Sep 17 00:00:00 2001 From: Dave DeRicco <30156588+ddericco@users.noreply.github.com> Date: Thu, 15 Sep 2022 12:07:49 -0400 Subject: [PATCH] Remove unneeded schema items, fix docs conflict --- internal/service/directconnect/connection.go | 27 -------------------- website/docs/r/dx_connection.html.markdown | 2 +- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/internal/service/directconnect/connection.go b/internal/service/directconnect/connection.go index 5db5a9b977b..283b4a80040 100644 --- a/internal/service/directconnect/connection.go +++ b/internal/service/directconnect/connection.go @@ -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, diff --git a/website/docs/r/dx_connection.html.markdown b/website/docs/r/dx_connection.html.markdown index 6a6f042b26a..158393be338 100644 --- a/website/docs/r/dx_connection.html.markdown +++ b/website/docs/r/dx_connection.html.markdown @@ -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