Skip to content

Commit

Permalink
Merge pull request hashicorp#38900 from gagan-bhullar-tech/b-appconfi…
Browse files Browse the repository at this point in the history
…g_extension-action-rolearn-optional

Appconfig extension role arn optional
  • Loading branch information
nam054 authored Aug 31, 2024
2 parents d75fce2 + 9f8d3e9 commit 6efc447
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/38900.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_appconfig_extension: Make `role_arn` attribute optional
```
2 changes: 1 addition & 1 deletion internal/service/appconfig/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func ResourceExtension() *schema.Resource {
},
names.AttrRoleARN: {
Type: schema.TypeString,
Required: true,
Optional: true,
},
names.AttrURI: {
Type: schema.TypeString,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/appconfig_extension.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Defines the actions the extension performs during the AppConfig workflow and at
The `action` configuration block supports configuring any number of the following arguments:

* `name` - (Required) The action name.
* `role_arn` - (Required) An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
* `uri` - (Required) The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
* `role_arn` - (Optional) An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
* `description` - (Optional) Information about the action.

#### `parameter`
Expand Down

0 comments on commit 6efc447

Please sign in to comment.