-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36062 from acwwat/f-aws_ram_resource_share-data_s…
…ource_name_optional feat: Mark name arg as optional to match AWS API for aws_ram_resource_share data source
- Loading branch information
Showing
27 changed files
with
925 additions
and
743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
```release-note:enhancement | ||
data-source/aws_ram_resource_share: `name` is Optional | ||
``` | ||
|
||
```release-note:enhancement | ||
resource/aws_ram_resource_association: Add plan-time validation of `resource_arn` and `resource_share_arn` | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_ram_principal_association: Remove from state on resource Read if `principal` is disassociated outside of Terraform | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_ram_principal_association: Prevent creation of duplicate Terraform resources | ||
``` | ||
|
||
```release-note:bug | ||
resource/aws_ram_resource_association: Prevent creation of duplicate Terraform resources | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package ram | ||
|
||
import ( | ||
"time" | ||
) | ||
|
||
const ( | ||
resourceShareInvitationPropagationTimeout = 2 * time.Minute | ||
resourceSharePropagationTimeout = 1 * time.Minute | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: MPL-2.0 | ||
|
||
package ram | ||
|
||
// Exports for use in tests only. | ||
var ( | ||
ResourcePrincipalAssociation = resourcePrincipalAssociation | ||
ResourceResourceAssociation = resourceResourceAssociation | ||
ResourceResourceShare = resourceResourceShare | ||
ResourceResourceShareAccepter = resourceResourceShareAccepter | ||
ResourceSharingWithOrganization = resourceSharingWithOrganization | ||
|
||
FindPrincipalAssociationByTwoPartKey = findPrincipalAssociationByTwoPartKey | ||
FindResourceAssociationByTwoPartKey = findResourceAssociationByTwoPartKey | ||
FindResourceShareOwnerOtherAccountsByARN = findResourceShareOwnerOtherAccountsByARN | ||
FindResourceShareOwnerSelfByARN = findResourceShareOwnerSelfByARN | ||
FindSharingWithOrganization = findSharingWithOrganization | ||
) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.