Skip to content

Commit

Permalink
Set AWS Config Configuration recorder & Delivery channel names as For…
Browse files Browse the repository at this point in the history
…ceNew
  • Loading branch information
Ninir committed Jul 26, 2017
1 parent e0c56cc commit 0cc5f73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions aws/resource_aws_config_configuration_recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func resourceAwsConfigConfigurationRecorder() *schema.Resource {
"name": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Default: "default",
ValidateFunc: validateMaxLength(256),
},
Expand Down
1 change: 1 addition & 0 deletions aws/resource_aws_config_delivery_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func resourceAwsConfigDeliveryChannel() *schema.Resource {
"name": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Default: "default",
ValidateFunc: validateMaxLength(256),
},
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/config_configuration_recorder.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ POLICY

The following arguments are supported:

* `name` - (Optional) The name of the recorder. Defaults to `default`
* `role_arn` - (Required) Amazon Resource Name (ARN) of the IAM role
* `name` - (Optional) The name of the recorder. Defaults to `default`. Changing it recreates the resource.
* `role_arn` - (Required) Amazon Resource Name (ARN) of the IAM role.
used to make read or write requests to the delivery channel and to describe the AWS resources associated with the account.
See [AWS Docs](http://docs.aws.amazon.com/config/latest/developerguide/iamrole-permissions.html) for more details.
* `recording_group` - (Optional) Recording group - see below.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/config_delivery_channel.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ POLICY

The following arguments are supported:

* `name` - (Optional) The name of the delivery channel. Defaults to `default`.
* `name` - (Optional) The name of the delivery channel. Defaults to `default`. Changing it recreates the resource.
* `s3_bucket_name` - (Required) The name of the S3 bucket used to store the configuration history.
* `s3_key_prefix` - (Optional) The prefix for the specified S3 bucket.
* `sns_topic_arn` - (Optional) The ARN of the SNS topic that AWS Config delivers notifications to.
Expand Down

0 comments on commit 0cc5f73

Please sign in to comment.