Skip to content

cloud_aws_account_validation

This data source validate account configuration and connection status for an integrated AWS account.

The following API scopes are required:

  • Cloud security AWS registration: READ
  • Cloud security AWS registration: WRITE

~> Warning This data source validates AWS account resources by calling Falcon Cloud Security APIs, which in turn communicate with your AWS account via AWS APIs with the created IAM role. Each validation consumes API quota from your AWS account. To avoid hitting AWS API rate limits, use this data source sparingly.

terraform {
required_providers {
crowdstrike = {
source = "registry.terraform.io/crowdstrike/crowdstrike"
}
}
}
provider "crowdstrike" {
cloud = "us-2"
}
# validate the integrated standalone/child AWS account
data "crowdstrike_cloud_aws_account_validation" "account" {
account_id = "123456789012"
}
# validate the integrated AWS organization management account
data "crowdstrike_cloud_aws_account_validation" "org_account" {
organization_id = "o-1122aabbcc"
}
  • account_id (String) AWS account to be validated
  • organization_id (String) AWS organization to be validated
  • wait_time (Number) Time in seconds to wait before starting validation. Defaults to 15 seconds. Set to 0 to validate immediately
  • validated (Boolean) Indicates whether the AWS account validation completed successfully without errors or warnings. Visit the Falcon console for detailed validation status and any issues found