From beb14c83958ec254a3a845e0d87e3350e2a7a113 Mon Sep 17 00:00:00 2001 From: Kamil Turek Date: Fri, 6 May 2022 18:10:36 +0200 Subject: [PATCH] Create documentation page --- website/docs/r/location_map.html.markdown | 58 +++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 website/docs/r/location_map.html.markdown diff --git a/website/docs/r/location_map.html.markdown b/website/docs/r/location_map.html.markdown new file mode 100644 index 000000000000..c46209ea0056 --- /dev/null +++ b/website/docs/r/location_map.html.markdown @@ -0,0 +1,58 @@ +--- +subcategory: "Location" +layout: "aws" +page_title: "AWS: aws_location_map" +description: |- + Provides a Location Service Map. +--- + +# Resource: aws_location_map + +Provides a Location Service Map. + +## Example Usage + +```terraform +resource "aws_location_map" "example" { + configuration { + style = "VectorHereBerlin" + } + + map_name = "example" +} +``` + +## Argument Reference + +The following arguments are required: + +* `configuration` - (Required) Configuration block with the map style selected from an available data provider. Detailed below. +* `map_name` - (Required) The name for the map resource. + +The following arguments are optional: + +* `description` - (Optional) An optional description for the map resource. +* `tags` - (Optional) Key-value tags for the map. If configured with a provider [`default_tags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level. + +## Attributes Reference + +In addition to all arguments above, the following attributes are exported: + +* `map_arn` - The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS. +* `create_time` - The timestamp for when the map resource was created in ISO 8601 format. +* `tags_all` - A map of tags assigned to the resource, including those inherited from the provider [`default_tags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block). +* `update_time` - The timestamp for when the map resource was last update in ISO 8601. + +## configuration + +The following arguments are required: + +* `style` - (Required) Specifies the map style selected from an available data provider. Valid values can be found in the [Location Service CreateMap API Reference](https://docs.aws.amazon.com/location-maps/latest/APIReference/API_CreateMap.html). + +## Import + +`aws_location_map` resources can be imported using the map name, e.g.: + +``` +$ terraform import aws_imagebuilder_image_pipeline.example example +```