Skip to content

Commit

Permalink
Create documentation page
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilturek committed May 6, 2022
1 parent a7af4da commit beb14c8
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions website/docs/r/location_map.html.markdown
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit beb14c8

Please sign in to comment.