Skip to content

Commit

Permalink
Fix wrong outputs of aws_dx_connection
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed Mar 31, 2023
1 parent 935f9d4 commit bf88f75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/service/directconnect/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ func resourceConnectionRead(ctx context.Context, d *schema.ResourceData, meta in
d.Set("name", connection.ConnectionName)
d.Set("owner_account_id", connection.OwnerAccount)
d.Set("port_encryption_status", connection.PortEncryptionStatus)
d.Set("provider_name", connection.ProviderName)
d.Set("vlan_id", connection.Vlan)
d.Set("provider_name", connection.PartnerName)
d.Set("vlan_id", connection.VLAN)

// d.Set("request_macsec", d.Get("request_macsec").(bool))

Expand Down
4 changes: 2 additions & 2 deletions internal/service/directconnect/connection_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ func dataSourceConnectionRead(ctx context.Context, d *schema.ResourceData, meta
d.Set("location", connection.Location)
d.Set("name", connection.ConnectionName)
d.Set("owner_account_id", connection.OwnerAccount)
d.Set("provider_name", connection.ProviderName)
d.Set("vlan_id", connection.Vlan)
d.Set("provider_name", connection.PartnerName)
d.Set("vlan_id", connection.VLAN)

tags, err := ListTags(ctx, conn, arn)

Expand Down

0 comments on commit bf88f75

Please sign in to comment.