Skip to content

Commit 1a15fff

Browse files
committed
r/aws_sfn_activity(doc): document read-only arn attribute
1 parent 7abfb24 commit 1a15fff

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.changelog/44408.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
resource/aws_sfn_activity: Add resource identity support
33
```
44
```release-note:enhancement
5+
resource/aws_sfn_activity: Add `arn` argument
6+
```
7+
```release-note:enhancement
58
resource/aws_sfn_alias: Add resource identity support
69
```

website/docs/r/sfn_activity.html.markdown

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,10 @@ This resource supports the following arguments:
5555

5656
This resource exports the following attributes in addition to the arguments above:
5757

58-
* `id` - The Amazon Resource Name (ARN) that identifies the created activity.
59-
* `name` - The name of the activity.
60-
* `creation_date` - The date the activity was created.
58+
* `id` - Amazon Resource Name (ARN) of the activity.
59+
* `arn` - Amazon Resource Name (ARN) of the activity.
60+
* `name` - Name of the activity.
61+
* `creation_date` - Date the activity was created.
6162
* `tags_all` - A map of tags assigned to the resource, including those inherited from the provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block).
6263

6364
## Import
@@ -81,13 +82,13 @@ In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashico
8182

8283
```terraform
8384
import {
84-
to = aws_sfn_activity.foo
85+
to = aws_sfn_activity.example
8586
id = "arn:aws:states:eu-west-1:123456789098:activity:bar"
8687
}
8788
```
8889

8990
Using `terraform import`, import activities using the `arn`. For example:
9091

9192
```console
92-
% terraform import aws_sfn_activity.foo arn:aws:states:eu-west-1:123456789098:activity:bar
93+
% terraform import aws_sfn_activity.example arn:aws:states:eu-west-1:123456789098:activity:bar
9394
```

0 commit comments

Comments
 (0)