Skip to content

Commit f57965a

Browse files
committed
Ensure that 'The following arguments are required:' contains no Optionals.
1 parent 6fd3636 commit f57965a

24 files changed

+27
-33
lines changed

website/docs/d/appmesh_virtual_gateway.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data "aws_appmesh_virtual_gateway" "test" {
3333

3434
## Argument Reference
3535

36-
The following arguments are required:
36+
This data source supports the following arguments:
3737

3838
* `name` - (Required) Name of the virtual gateway.
3939
* `mesh_name` - (Required) Name of the service mesh in which the virtual gateway exists.

website/docs/d/datazone_domain.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ data "aws_datazone_domain" "example" {
2222

2323
## Argument Reference
2424

25-
The following arguments are required:
25+
This data source supports the following arguments:
2626

2727
* `name` - (Optional) Name of the Domain. One of `name` or `id` is required.
2828
* `id` - (Optional) ID of the Domain. One of `name` or `id` is required

website/docs/r/appfabric_ingestion.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ resource "aws_appfabric_ingestion" "example" {
2828

2929
## Argument Reference
3030

31-
The following arguments are required:
31+
This resource supports the following arguments:
3232

3333
* `app` - (Required) Name of the application.
3434
Refer to the AWS Documentation for the [list of valid values](https://docs.aws.amazon.com/appfabric/latest/api/API_CreateIngestion.html#appfabric-CreateIngestion-request-app)

website/docs/r/backup_logically_air_gapped_vault.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "aws_backup_logically_air_gapped_vault" "example" {
2424

2525
## Argument Reference
2626

27-
The following arguments are required:
27+
This resource supports the following arguments:
2828

2929
* `name` - (Required) Name of the Logically Air Gapped Backup Vault to create.
3030
* `max_retention_days` - (Required) Maximum retention period that the Logically Air Gapped Backup Vault retains recovery points.

website/docs/r/ce_anomaly_monitor.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "aws_ce_anomaly_monitor" "test" {
5151

5252
## Argument Reference
5353

54-
The following arguments are required:
54+
This resource supports the following arguments:
5555

5656
* `name` - (Required) The name of the monitor.
5757
* `monitor_type` - (Required) The possible type values. Valid values: `DIMENSIONAL` | `CUSTOM`.

website/docs/r/ce_anomaly_subscription.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ resource "aws_ce_anomaly_subscription" "realtime_subscription" {
206206

207207
## Argument Reference
208208

209-
The following arguments are required:
209+
This resource supports the following arguments:
210210

211211
* `account_id` - (Optional) The unique identifier for the AWS account in which the anomaly subscription ought to be created.
212212
* `frequency` - (Required) The frequency that anomaly reports are sent. Valid Values: `DAILY` | `IMMEDIATE` | `WEEKLY`.

website/docs/r/ce_cost_category.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ The following arguments are required:
5656
* `name` - (Required) Unique name for the Cost Category.
5757
* `rule` - (Required) Configuration block for the Cost Category rules used to categorize costs. See below.
5858
* `rule_version` - (Required) Rule schema version in this particular Cost Category.
59-
* `effective_start`- (Optional) The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example `2022-11-01T00:00:00Z`.
6059

6160
The following arguments are optional:
6261

6362
* `default_value` - (Optional) Default value for the cost category.
63+
* `effective_start`- (Optional) The Cost Category's effective start date. It can only be a billing start date (first day of the month). If the date isn't provided, it's the first day of the current month. Dates can't be before the previous twelve months, or in the future. For example `2022-11-01T00:00:00Z`.
6464
* `split_charge_rule` - (Optional) Configuration block for the split charge rules used to allocate your charges between your Cost Category values. See below.
6565
* `tags` - (Optional) Key-value mapping of resource tags. If configured with a provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
6666

website/docs/r/cloudfront_origin_access_control.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ resource "aws_cloudfront_origin_access_control" "example" {
2828

2929
## Argument Reference
3030

31-
The following arguments are required:
31+
This resource supports the following arguments:
3232

3333
* `name` - (Required) A name that identifies the Origin Access Control.
3434
* `description` - (Optional) The description of the Origin Access Control. Defaults to "Managed by Terraform" if omitted.

website/docs/r/dms_s3_endpoint.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,8 @@ resource "aws_dms_s3_endpoint" "example" {
9696
The following arguments are required:
9797

9898
* `bucket_name` - (Required) S3 bucket name.
99-
* `cdc_path` - (Required for CDC; otherwise, Optional) Folder path of CDC files. If `cdc_path` is set, AWS DMS reads CDC files from this path and replicates the data changes to the target endpoint. Supported in AWS DMS versions 3.4.2 and later.
10099
* `endpoint_id` - (Required) Database endpoint identifier. Identifiers must contain from 1 to 255 alphanumeric characters or hyphens, begin with a letter, contain only ASCII letters, digits, and hyphens, not end with a hyphen, and not contain two consecutive hyphens.
101100
* `endpoint_type` - (Required) Type of endpoint. Valid values are `source`, `target`.
102-
* `external_table_definition` - (Required for `source` endpoints; otherwise, Optional) JSON document that describes how AWS DMS should interpret the data.
103101
* `service_access_role_arn` - (Required) ARN of the IAM role with permissions to the S3 Bucket.
104102

105103
The following arguments are optional:
@@ -112,6 +110,7 @@ The following arguments are optional:
112110
* `cdc_inserts_only` - (Optional) Whether to write insert operations to .csv or .parquet output files. Default is `false`.
113111
* `cdc_max_batch_interval` - (Optional) Maximum length of the interval, defined in seconds, after which to output a file to Amazon S3. (AWS default is `60`.)
114112
* `cdc_min_file_size` - (Optional) Minimum file size condition as defined in kilobytes to output a file to Amazon S3. (AWS default is 32000 KB.)
113+
* `cdc_path` - (Optional) Folder path of CDC files. If `cdc_path` is set, AWS DMS reads CDC files from this path and replicates the data changes to the target endpoint. Supported in AWS DMS versions 3.4.2 and later. Required for CDC.
115114
* `certificate_arn` - (Optional, Default: empty string) ARN for the certificate.
116115
* `compression_type` - (Optional) Set to compress target files. Valid values are `GZIP` and `NONE`. Default is `NONE`. (Ignored for source endpoints.)
117116
* `csv_delimiter` - (Optional) Delimiter used to separate columns in the source files. Default is `,`.
@@ -130,6 +129,7 @@ The following arguments are optional:
130129
* `encoding_type` - (Optional) Type of encoding to use. Value values are `rle_dictionary`, `plain`, and `plain_dictionary`. (AWS default is `rle_dictionary`.)
131130
* `encryption_mode` - (Optional) Server-side encryption mode that you want to encrypt your .csv or .parquet object files copied to S3. Valid values are `SSE_S3` and `SSE_KMS`. (AWS default is `SSE_S3`.) (Ignored for source endpoints -- only `SSE_S3` is valid.)
132131
* `expected_bucket_owner` - (Optional) Bucket owner to prevent sniping. Value is an AWS account ID.
132+
* `external_table_definition` - (Optional) JSON document that describes how AWS DMS should interpret the data. Required for `source` endpoints.
133133
* `glue_catalog_generation` - (Optional) Whether to integrate AWS Glue Data Catalog with an Amazon S3 target. See [Using AWS Glue Data Catalog with an Amazon S3 target for AWS DMS](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html#CHAP_Target.S3.GlueCatalog) for more information. Default is `false`.
134134
* `ignore_header_rows` - (Optional, Force New) When this value is set to `1`, DMS ignores the first row header in a .csv file. (AWS default is `0`.)
135135
* `include_op_for_full_load` - (Optional) Whether to enable a full load to write INSERT operations to the .csv output files only to indicate how the rows were added to the source database. Default is `false`.

website/docs/r/ec2_network_insights_path.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ resource "aws_ec2_network_insights_path" "test" {
2525
The following arguments are required:
2626

2727
* `source` - (Required) ID or ARN of the resource which is the source of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN.
28-
* `destination` - (Optional) ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Either the `destination` argument or the `destination_address` argument in the `filter_at_source` block must be specified.
2928
* `protocol` - (Required) Protocol to use for analysis. Valid options are `tcp` or `udp`.
3029

3130
The following arguments are optional:
3231

3332
* `source_ip` - (Optional) IP address of the source resource.
33+
* `destination` - (Optional) ID or ARN of the resource which is the destination of the path. Can be an Instance, Internet Gateway, Network Interface, Transit Gateway, VPC Endpoint, VPC Peering Connection or VPN Gateway. If the resource is in another account, you must specify an ARN. Either the `destination` argument or the `destination_address` argument in the `filter_at_source` block must be specified.
3434
* `destination_ip` - (Optional) IP address of the destination resource.
3535
* `destination_port` - (Optional) Destination port to analyze access to.
3636
* `filter_at_destination` - (Optional) Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify `destination_ip`. See below for details. Note that Terraform performs drift detection on this argument only when the value is provided.

0 commit comments

Comments
 (0)