You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/mnq_credential.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: |-
4
4
Manages Scaleway Messaging and Queuing Credential.
5
5
---
6
6
7
-
# scaleway_mnq_namespace
7
+
# scaleway_mnq_credential
8
8
9
9
This Terraform configuration creates and manage a Scaleway MNQ credential associated with a namespace.
10
10
For additional details, kindly refer to our [website](https://www.scaleway.com/en/docs/serverless/messaging/) and
@@ -53,10 +53,7 @@ The following arguments are supported:
53
53
54
54
-`name` - (Optional) The credential name..
55
55
-`namespace_id` - (Required) The namespace containing the Credential.
56
-
-`nats_credentials` - Credentials file used to connect to the NATS service. Only one of `nats_credentials` and `sqs_sns_credentials` may be set.
57
-
-`content` - Raw content of the NATS credentials file.
58
-
-`sqs_sns_credentials` - Credential used to connect to the SQS/SNS service. Only one of `nats_credentials`
59
-
and `sqs_sns_credentials` may be set.
56
+
-`sqs_sns_credentials` - Credential used to connect to the SQS/SNS service.
60
57
-`permissions` List of permissions associated to this Credential. Only one of permissions may be set.
61
58
- `can_publish` - (Optional). Defines if user can publish messages to the service.
62
59
- `can_receive` - (Optional). Defines if user can receive messages from the service.
@@ -67,16 +64,18 @@ The following arguments are supported:
67
64
In addition to all arguments above, the following attributes are exported:
68
65
69
66
-`id` - The credential ID.
70
-
71
-
~> **Important:** Messaging and Queuing credentials' IDs are [regional](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
72
-
73
67
-`protocol` - The protocol associated to the Credential. Possible values are `nats` and `sqs_sns`.
74
68
-`sqs_sns_credentials` - The credential used to connect to the SQS/SNS service.
75
69
-`access_key` - The ID of the key.
76
70
-`secret_key` - The Secret value of the key.
71
+
-`nats_credentials` - Credentials file used to connect to the NATS service.
72
+
-`content` - Raw content of the NATS credentials file.
77
73
-`region` - (Defaults to [provider](../index.md#region)`region`). The [region](../guides/regions_and_zones.md#regions)
78
74
in which the namespace should be created.
79
75
76
+
~> **Important:** Messaging and Queuing credentials' IDs are [regional](../guides/regions_and_zones.md#resource-ids),
77
+
which means they are of the form `{region}/{id}`, e.g. `fr-par/11111111-1111-1111-1111-111111111111`
78
+
80
79
## Import
81
80
82
81
Credential can be imported using the `{region}/{id}`, e.g.
0 commit comments