Skip to content

Commit

Permalink
docs/provider: Attribute headers and byline fixes (L-R resources) (#1…
Browse files Browse the repository at this point in the history
…8020)

Reference: #15842

Previously:

```
	* website/docs/r/lakeformation_data_lake_settings.html.markdown: error checking file contents: attributes section byline (In addition to all arguments above, no attributes are exported.) should be: "In addition to all arguments above, the following attributes are exported:" or "No additional attributes are exported."
	* website/docs/r/lakeformation_permissions.html.markdown: error checking file contents: attributes section byline (In addition to the above arguments, no attributes are exported.) should be: "In addition to all arguments above, the following attributes are exported:" or "No additional attributes are exported."
	* website/docs/r/lambda_code_signing_config.html.markdown: error checking file contents: attributes section byline should be: "In addition to all arguments above, the following attributes are exported:" or "No additional attributes are exported."
	* website/docs/r/lambda_function.html.markdown: error checking file contents: attributes section byline (In addition to arguments above, the following attributes are exported:) should be: "In addition to all arguments above, the following attributes are exported:" or "No additional attributes are exported."
	* website/docs/r/lambda_permission.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/media_store_container_policy.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/neptune_event_subscription.html.markdown: error checking file contents: attributes section heading (Attributes) should be: Attributes Reference
	* website/docs/r/network_interface_sg_attachment.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/networkfirewall_resource_policy.html.markdown: error checking file contents: attributes section heading (Attribute Reference) should be: Attributes Reference
	* website/docs/r/organizations_policy_attachment.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_adm_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_apns_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_apns_sandbox_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_apns_voip_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_apns_voip_sandbox_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_baidu_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_event_stream.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/pinpoint_gcm_channel.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/quicksight_user.html.markdown: error checking file contents: attributes section byline (All above attributes except for session_name and identity_type are exported as well as:) should be: "In addition to all arguments above, the following attributes are exported:" or "No additional attributes are exported."
	* website/docs/r/redshift_event_subscription.html.markdown: error checking file contents: attributes section heading (Attributes) should be: Attributes Reference
	* website/docs/r/redshift_snapshot_schedule.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
	* website/docs/r/redshift_snapshot_schedule_association.html.markdown: error checking file contents: missing attributes section: ## Attributes Reference
```
  • Loading branch information
bflad authored Mar 17, 2021
1 parent 8a532d0 commit abf3fe6
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ The following arguments are optional:

## Attributes Reference

In addition to all arguments above, no attributes are exported.
No additional attributes are exported.
2 changes: 1 addition & 1 deletion website/docs/r/lakeformation_permissions.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ The following arguments are optional:

## Attributes Reference

In addition to the above arguments, no attributes are exported.
No additional attributes are exported.
3 changes: 2 additions & 1 deletion website/docs/r/lambda_code_signing_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ The `policies` block supports the following argument:

* `untrusted_artifact_on_deployment` - (Required) Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if code-signing validation checks fail. If you set the policy to Warn, Lambda allows the deployment and creates a CloudWatch log. Valid values: `Warn`, `Enforce`. Default value: `Warn`.


## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `arn` - The Amazon Resource Name (ARN) of the code signing configuration.
* `config_id` - Unique identifier for the code signing configuration.
* `last_modified` - The date and time that the code signing configuration was last modified.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/lambda_function.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ For network connectivity to AWS resources in a VPC, specify a list of security g

## Attributes Reference

In addition to arguments above, the following attributes are exported:
In addition to all arguments above, the following attributes are exported:

* `arn` - Amazon Resource Name (ARN) identifying your Lambda Function.
* `invoke_arn` - ARN to be used for invoking Lambda Function from API Gateway - to be used in [`aws_api_gateway_integration`](/docs/providers/aws/r/api_gateway_integration.html)'s `uri`.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/lambda_permission.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ EOF
[1]: https://developer.amazon.com/docs/custom-skills/host-a-custom-skill-as-an-aws-lambda-function.html#use-aws-cli
[2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html

## Attributes Reference

No additional attributes are exported.

## Import

Lambda permission statements can be imported using function_name/statement_id, with an optional qualifier, e.g.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/media_store_container_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ The following arguments are supported:
* `container_name` - (Required) The name of the container.
* `policy` - (Required) The contents of the policy. For more information about building AWS IAM policy documents with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform/aws/iam-policy).

## Attributes Reference

No additional attributes are exported.

## Import

MediaStore Container Policy can be imported using the MediaStore Container Name, e.g.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/neptune_event_subscription.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ The following arguments are supported:
* `source_type` - (Optional) The type of source that will be generating the events. Valid options are `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-cluster-snapshot`. If not set, all sources will be subscribed to.
* `tags` - (Optional) A map of tags to assign to the resource.

## Attributes
## Attributes Reference

The following additional atttributes are provided:
In addition to all arguments above, the following attributes are exported:

* `id` - The name of the Neptune event notification subscription.
* `arn` - The Amazon Resource Name of the Neptune event notification subscription.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/network_interface_sg_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ resource "aws_network_interface_sg_attachment" "sg_attachment" {
* `security_group_id` - (Required) The ID of the security group.
* `network_interface_id` - (Required) The ID of the network interface to attach to.

## Output Reference
## Attributes Reference

There are no outputs for this resource.
No additional attributes are exported.
4 changes: 4 additions & 0 deletions website/docs/r/organizations_policy_attachment.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ The following arguments are supported:
* `policy_id` - (Required) The unique identifier (ID) of the policy that you want to attach to the target.
* `target_id` - (Required) The unique identifier (ID) of the root, organizational unit, or account number that you want to attach the policy to.

## Attributes Reference

No additional attributes are exported.

## Import

`aws_organizations_policy_attachment` can be imported by using the target ID and policy ID, e.g. with an account target
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/pinpoint_adm_channel.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ The following arguments are supported:
* `client_secret` - (Required) Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
* `enabled` - (Optional) Specifies whether to enable the channel. Defaults to `true`.

## Attributes Reference

No additional attributes are exported.

## Import

Pinpoint ADM Channel can be imported using the `application-id`, e.g.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/pinpoint_apns_channel.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ If you choose to use __Key credentials__ you will have to provide:
* `token_key` - (Required) The `.p8` file that you download from your Apple developer account when you create an authentication key.
* `token_key_id` - (Required) The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

## Attributes Reference

No additional attributes are exported.

## Import

Pinpoint APNs Channel can be imported using the `application-id`, e.g.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/pinpoint_apns_sandbox_channel.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ If you choose to use __Key credentials__ you will have to provide:
* `token_key` - (Required) The `.p8` file that you download from your Apple developer account when you create an authentication key.
* `token_key_id` - (Required) The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

## Attributes Reference

No additional attributes are exported.

## Import

Pinpoint APNs Sandbox Channel can be imported using the `application-id`, e.g.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/pinpoint_apns_voip_channel.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ If you choose to use __Key credentials__ you will have to provide:
* `token_key` - (Required) The `.p8` file that you download from your Apple developer account when you create an authentication key.
* `token_key_id` - (Required) The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

## Attributes Reference

No additional attributes are exported.

## Import

Pinpoint APNs VoIP Channel can be imported using the `application-id`, e.g.
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/pinpoint_apns_voip_sandbox_channel.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ If you choose to use __Key credentials__ you will have to provide:
* `token_key` - (Required) The `.p8` file that you download from your Apple developer account when you create an authentication key.
* `token_key_id` - (Required) The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.

## Attributes Reference

No additional attributes are exported.

## Import

Pinpoint APNs VoIP Sandbox Channel can be imported using the `application-id`, e.g.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/quicksight_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following arguments are supported:

## Attributes Reference

All above attributes except for `session_name` and `identity_type` are exported as well as:
In addition to all arguments above, the following attributes are exported:

* `arn` - Amazon Resource Name (ARN) of the user

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/redshift_event_subscription.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ The following arguments are supported:
* `enabled` - (Optional) A boolean flag to enable/disable the subscription. Defaults to true.
* `tags` - (Optional) A map of tags to assign to the resource.

## Attributes
## Attributes Reference

The following additional atttributes are provided:
In addition to all arguments above, the following attributes are exported:

* `arn` - Amazon Resource Name (ARN) of the Redshift event notification subscription
* `id` - The name of the Redshift event notification subscription
Expand Down
6 changes: 6 additions & 0 deletions website/docs/r/redshift_snapshot_schedule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ identifier beginning with the specified prefix. Conflicts with `identifier`.
* `force_destroy` - (Optional) Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion.
* `tags` - (Optional) A map of tags to assign to the resource.

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `arn` - Amazon Resource Name (ARN) of the Redshift Snapshot Schedule.

## Import

Redshift Snapshot Schedule can be imported using the `identifier`, e.g.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ The following arguments are supported:
* `cluster_identifier` - (Required, Forces new resource) The cluster identifier.
* `schedule_identifier` - (Required, Forces new resource) The snapshot schedule identifier.

## Attributes Reference

No additional attributes are exported.

## Import

Redshift Snapshot Schedule Association can be imported using the `<cluster-identifier>/<schedule-identifier>`, e.g.
Expand Down

0 comments on commit abf3fe6

Please sign in to comment.