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
Description: "The ID of the account in New Relic.",
29
+
// since the mutation to update cloud linked accounts does not support "changing" the account ID of a linked account,
30
+
// we shall force re-creation of the resource if the account_id is changed after the first apply.
31
+
ForceNew: true,
28
32
},
29
33
"name": {
30
34
Type: schema.TypeString,
31
35
Description: "Name of the AWS GovCloud 'Linked Account' to identify in New Relic.",
32
36
Required: true,
33
37
},
34
38
"metric_collection_mode": {
35
-
Type: schema.TypeString,
36
-
Description: "The mode by which metric data is to be collected from the linked AWS GovCloud account. Use 'PUSH' for Metric Streams and 'PULL' for API Polling based metric collection respectively.",
37
-
Optional: true,
39
+
Type: schema.TypeString,
40
+
Description: "The mode by which metric data is to be collected from the linked AWS GovCloud account. Use 'PUSH' for Metric Streams and 'PULL' for API Polling based metric collection respectively.",
-> **IMPORTANT!** This resource is in alpha state, and could still contain issues and missing functionality. If you encounter any issue please create a ticket on [Github](https://github.com/newrelic/terraform-provider-newrelic/issues/new/choose) with all the required information.
Use this resource to link an AWS GovCloud account to New Relic.
13
11
14
12
## Prerequisite
15
13
16
-
Obtain the AwsGovCloud account designed to address the specific regulatory needs of United States (federal, state, and local agencies), education institutions, and the supporting ecosystem.
17
-
18
-
It is an isolated AWS region designed to host sensitive data and regulated workloads in the cloud, helping customers support their US government compliance requirements.
14
+
To link an AWS GovCloud account to New Relic, you need an AWS GovCloud account. AWS GovCloud is designed to address the specific regulatory needs of United States federal, state, and local agencies, educational institutions, and their supporting ecosystem. It is an isolated AWS region designed to host sensitive data and regulated workloads in the cloud, helping customers support their US government compliance requirements.
19
15
20
-
To pull data from AWSGovCloud, complete the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/get-started/connect-aws-govcloud-new-relic).
16
+
To pull data from AWS GovCloud, follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/get-started/connect-aws-govcloud-new-relic).
-`account_id` - (Optional) The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
40
-
-`name` - (Required) - The name/identifier of the AWS GovCloud - New Relic 'linked' account.
41
-
-`metric_collection_mode` - (Optional) The mode by which metric data is to be collected from the linked AWS GovCloud account. Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
42
-
-Note: Altering the `metric_collection_mode` of an already applied `newrelic_cloud_aws_govcloud_link_account` resource shall trigger a recreation of the resource, instead of an update.
43
-
-`aws_account_id` - (Required) The ID of the AWS GovCloud account.
44
-
-`access_key_id` - (Required) The Access Key used to programmatically access the AWS GovCloud account.
45
-
-`secret_access_key` - (Required) The Secret Access Key used to programmatically access the AWS GovCloud account.
33
+
-`account_id` - (Optional) The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`, if not specified in the configuration.
34
+
-`name` - (Required) The name/identifier of the AWS GovCloud - New Relic 'linked' account.
35
+
-`metric_collection_mode` - (Optional) The mode by which metric data is to be collected from the linked AWS GovCloud account. Defaults to `PULL`, if not specified in the configuration.
36
+
-Use `PUSH` for Metric Streams and `PULL` for API Polling based metric collection respectively.
37
+
-`arn` - (Required) The Amazon Resource Name (ARN) of the IAM role.
38
+
39
+
-> **NOTE:** Altering the `account_id` (or) `metric_collection_mode` of an already applied `newrelic_cloud_aws_govcloud_link_account` resource shall trigger a recreation of the resource, instead of an update.
0 commit comments