771 lines
36 KiB
JSON
Executable File
771 lines
36 KiB
JSON
Executable File
{
|
|
"version": 4,
|
|
"terraform_version": "1.0.0",
|
|
"serial": 66,
|
|
"lineage": "c7241ccf-df1a-7480-0c30-60bb78015388",
|
|
"outputs": {
|
|
"aws_account_id": {
|
|
"value": "215719102928",
|
|
"type": "string"
|
|
},
|
|
"aws_role_name": {
|
|
"value": "plaap-test-datadog-integration",
|
|
"type": "string"
|
|
},
|
|
"datadog_external_id": {
|
|
"value": "0c446b30afab4204ab06dcfa89526ecd",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "data",
|
|
"type": "aws_caller_identity",
|
|
"name": "current",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"account_id": "215719102928",
|
|
"arn": "arn:aws:iam::215719102928:user/datadog",
|
|
"id": "215719102928",
|
|
"user_id": "AIDATEOO4JHIBFNSAXC3B"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "1845680237",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAll\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"xray:GetTraceSummaries\",\n \"xray:BatchGetTraces\",\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"states:ListStateMachines\",\n \"states:DescribeStateMachine\",\n \"sqs:ListQueues\",\n \"sns:Publish\",\n \"sns:List*\",\n \"ses:Get*\",\n \"s3:PutBucketNotification\",\n \"s3:ListAllMyBuckets\",\n \"s3:GetBucketTagging\",\n \"s3:GetBucketNotification\",\n \"s3:GetBucketLogging\",\n \"s3:GetBucketLocation\",\n \"route53:List*\",\n \"redshift:DescribeLoggingStatus\",\n \"redshift:DescribeClusters\",\n \"rds:List*\",\n \"rds:Describe*\",\n \"logs:TestMetricFilter\",\n \"logs:PutSubscriptionFilter\",\n \"logs:DescribeSubscriptionFilters\",\n \"logs:DeleteSubscriptionFilter\",\n \"lambda:RemovePermission\",\n \"lambda:List*\",\n \"lambda:GetPolicy\",\n \"lambda:AddPermission\",\n \"kinesis:List*\",\n \"kinesis:Describe*\",\n \"health:DescribeEvents\",\n \"health:DescribeEventDetails\",\n \"health:DescribeAffectedEntities\",\n \"es:ListTags\",\n \"es:ListDomainNames\",\n \"es:DescribeElasticsearchDomains\",\n \"elasticmapreduce:List*\",\n \"elasticmapreduce:Describe*\",\n \"elasticloadbalancing:Describe*\",\n \"elasticfilesystem:DescribeTags\",\n \"elasticfilesystem:DescribeFileSystems\",\n \"elasticache:List*\",\n \"elasticache:Describe*\",\n \"ecs:List*\",\n \"ecs:Describe*\",\n \"ec2:Describe*\",\n \"dynamodb:List*\",\n \"dynamodb:Describe*\",\n \"directconnect:Describe*\",\n \"codedeploy:List*\",\n \"codedeploy:BatchGet*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\",\n \"cloudwatch:Describe*\",\n \"cloudtrail:GetTrailStatus\",\n \"cloudtrail:DescribeTrails\",\n \"cloudfront:ListDistributions\",\n \"cloudfront:GetDistributionConfig\",\n \"budgets:ViewBudget\",\n \"autoscaling:Describe*\",\n \"apigateway:GET\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"apigateway:GET",
|
|
"autoscaling:Describe*",
|
|
"budgets:ViewBudget",
|
|
"cloudfront:GetDistributionConfig",
|
|
"cloudfront:ListDistributions",
|
|
"cloudtrail:DescribeTrails",
|
|
"cloudtrail:GetTrailStatus",
|
|
"cloudwatch:Describe*",
|
|
"cloudwatch:Get*",
|
|
"cloudwatch:List*",
|
|
"codedeploy:BatchGet*",
|
|
"codedeploy:List*",
|
|
"directconnect:Describe*",
|
|
"dynamodb:Describe*",
|
|
"dynamodb:List*",
|
|
"ec2:Describe*",
|
|
"ecs:Describe*",
|
|
"ecs:List*",
|
|
"elasticache:Describe*",
|
|
"elasticache:List*",
|
|
"elasticfilesystem:DescribeFileSystems",
|
|
"elasticfilesystem:DescribeTags",
|
|
"elasticloadbalancing:Describe*",
|
|
"elasticmapreduce:Describe*",
|
|
"elasticmapreduce:List*",
|
|
"es:DescribeElasticsearchDomains",
|
|
"es:ListDomainNames",
|
|
"es:ListTags",
|
|
"health:DescribeAffectedEntities",
|
|
"health:DescribeEventDetails",
|
|
"health:DescribeEvents",
|
|
"kinesis:Describe*",
|
|
"kinesis:List*",
|
|
"lambda:AddPermission",
|
|
"lambda:GetPolicy",
|
|
"lambda:List*",
|
|
"lambda:RemovePermission",
|
|
"logs:DeleteSubscriptionFilter",
|
|
"logs:DescribeSubscriptionFilters",
|
|
"logs:PutSubscriptionFilter",
|
|
"logs:TestMetricFilter",
|
|
"rds:Describe*",
|
|
"rds:List*",
|
|
"redshift:DescribeClusters",
|
|
"redshift:DescribeLoggingStatus",
|
|
"route53:List*",
|
|
"s3:GetBucketLocation",
|
|
"s3:GetBucketLogging",
|
|
"s3:GetBucketNotification",
|
|
"s3:GetBucketTagging",
|
|
"s3:ListAllMyBuckets",
|
|
"s3:PutBucketNotification",
|
|
"ses:Get*",
|
|
"sns:List*",
|
|
"sns:Publish",
|
|
"sqs:ListQueues",
|
|
"states:DescribeStateMachine",
|
|
"states:ListStateMachines",
|
|
"support:*",
|
|
"tag:GetResources",
|
|
"tag:GetTagKeys",
|
|
"tag:GetTagValues",
|
|
"xray:BatchGetTraces",
|
|
"xray:GetTraceSummaries"
|
|
],
|
|
"condition": [],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [],
|
|
"resources": [
|
|
"*"
|
|
],
|
|
"sid": "DatadogAll"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "assume_role",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "243323576",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAWSTrustRelationship\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::464622532012:root\"\n },\n \"Condition\": {\n \"StringEquals\": {\n \"sts:ExternalId\": [\n \"0c446b30afab4204ab06dcfa89526ecd\"\n ]\n }\n }\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"sts:AssumeRole"
|
|
],
|
|
"condition": [
|
|
{
|
|
"test": "StringEquals",
|
|
"values": [
|
|
"0c446b30afab4204ab06dcfa89526ecd"
|
|
],
|
|
"variable": "sts:ExternalId"
|
|
}
|
|
],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [
|
|
{
|
|
"identifiers": [
|
|
"arn:aws:iam::464622532012:root"
|
|
],
|
|
"type": "AWS"
|
|
}
|
|
],
|
|
"resources": [],
|
|
"sid": "DatadogAWSTrustRelationship"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "core",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "2056658824",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogCore\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"ec2:Describe*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"cloudwatch:Get*",
|
|
"cloudwatch:List*",
|
|
"ec2:Describe*",
|
|
"support:*",
|
|
"tag:GetResources",
|
|
"tag:GetTagKeys",
|
|
"tag:GetTagValues"
|
|
],
|
|
"condition": [],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [],
|
|
"resources": [
|
|
"*"
|
|
],
|
|
"sid": "DatadogCore"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "data",
|
|
"type": "aws_region",
|
|
"name": "current",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"description": "Europe (Ireland)",
|
|
"endpoint": "ec2.eu-west-1.amazonaws.com",
|
|
"id": "eu-west-1",
|
|
"name": "eu-west-1"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "managed",
|
|
"type": "aws_iam_policy",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:iam::215719102928:policy/plaap-test-datadog-integration-all",
|
|
"description": "",
|
|
"id": "arn:aws:iam::215719102928:policy/plaap-test-datadog-integration-all",
|
|
"name": "plaap-test-datadog-integration-all",
|
|
"name_prefix": null,
|
|
"path": "/",
|
|
"policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAll\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"xray:GetTraceSummaries\",\n \"xray:BatchGetTraces\",\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"states:ListStateMachines\",\n \"states:DescribeStateMachine\",\n \"sqs:ListQueues\",\n \"sns:Publish\",\n \"sns:List*\",\n \"ses:Get*\",\n \"s3:PutBucketNotification\",\n \"s3:ListAllMyBuckets\",\n \"s3:GetBucketTagging\",\n \"s3:GetBucketNotification\",\n \"s3:GetBucketLogging\",\n \"s3:GetBucketLocation\",\n \"route53:List*\",\n \"redshift:DescribeLoggingStatus\",\n \"redshift:DescribeClusters\",\n \"rds:List*\",\n \"rds:Describe*\",\n \"logs:TestMetricFilter\",\n \"logs:PutSubscriptionFilter\",\n \"logs:DescribeSubscriptionFilters\",\n \"logs:DeleteSubscriptionFilter\",\n \"lambda:RemovePermission\",\n \"lambda:List*\",\n \"lambda:GetPolicy\",\n \"lambda:AddPermission\",\n \"kinesis:List*\",\n \"kinesis:Describe*\",\n \"health:DescribeEvents\",\n \"health:DescribeEventDetails\",\n \"health:DescribeAffectedEntities\",\n \"es:ListTags\",\n \"es:ListDomainNames\",\n \"es:DescribeElasticsearchDomains\",\n \"elasticmapreduce:List*\",\n \"elasticmapreduce:Describe*\",\n \"elasticloadbalancing:Describe*\",\n \"elasticfilesystem:DescribeTags\",\n \"elasticfilesystem:DescribeFileSystems\",\n \"elasticache:List*\",\n \"elasticache:Describe*\",\n \"ecs:List*\",\n \"ecs:Describe*\",\n \"ec2:Describe*\",\n \"dynamodb:List*\",\n \"dynamodb:Describe*\",\n \"directconnect:Describe*\",\n \"codedeploy:List*\",\n \"codedeploy:BatchGet*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\",\n \"cloudwatch:Describe*\",\n \"cloudtrail:GetTrailStatus\",\n \"cloudtrail:DescribeTrails\",\n \"cloudfront:ListDistributions\",\n \"cloudfront:GetDistributionConfig\",\n \"budgets:ViewBudget\",\n \"autoscaling:Describe*\",\n \"apigateway:GET\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"policy_id": "ANPATEOO4JHIDGLAVHEXW",
|
|
"tags": null,
|
|
"tags_all": {}
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration.data.aws_iam_policy_document.all"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "managed",
|
|
"type": "aws_iam_role",
|
|
"name": "default",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:iam::215719102928:role/plaap-test-datadog-integration",
|
|
"assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"DatadogAWSTrustRelationship\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::464622532012:root\"},\"Action\":\"sts:AssumeRole\",\"Condition\":{\"StringEquals\":{\"sts:ExternalId\":\"0c446b30afab4204ab06dcfa89526ecd\"}}}]}",
|
|
"create_date": "2021-09-09T09:27:58Z",
|
|
"description": "",
|
|
"force_detach_policies": false,
|
|
"id": "plaap-test-datadog-integration",
|
|
"inline_policy": [
|
|
{
|
|
"name": "",
|
|
"policy": ""
|
|
}
|
|
],
|
|
"managed_policy_arns": [],
|
|
"max_session_duration": 3600,
|
|
"name": "plaap-test-datadog-integration",
|
|
"name_prefix": null,
|
|
"path": "/",
|
|
"permissions_boundary": null,
|
|
"tags": null,
|
|
"tags_all": {},
|
|
"unique_id": "AROATEOO4JHIKD2HBQVXF"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration.data.aws_iam_policy_document.assume_role"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "managed",
|
|
"type": "aws_iam_role_policy_attachment",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "plaap-test-datadog-integration-20210909092800093600000001",
|
|
"policy_arn": "arn:aws:iam::215719102928:policy/plaap-test-datadog-integration-all",
|
|
"role": "plaap-test-datadog-integration"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration.aws_iam_policy.all",
|
|
"module.datadog_integration.aws_iam_role.default",
|
|
"module.datadog_integration.data.aws_iam_policy_document.all",
|
|
"module.datadog_integration.data.aws_iam_policy_document.assume_role"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration",
|
|
"mode": "managed",
|
|
"type": "datadog_integration_aws",
|
|
"name": "integration",
|
|
"provider": "provider[\"registry.terraform.io/datadog/datadog\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"access_key_id": "",
|
|
"account_id": "215719102928",
|
|
"account_specific_namespace_rules": {},
|
|
"excluded_regions": [],
|
|
"external_id": "0c446b30afab4204ab06dcfa89526ecd",
|
|
"filter_tags": [],
|
|
"host_tags": [],
|
|
"id": "215719102928:plaap-test-datadog-integration",
|
|
"role_name": "plaap-test-datadog-integration",
|
|
"secret_access_key": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration.data.aws_caller_identity.current"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "data",
|
|
"type": "aws_caller_identity",
|
|
"name": "current",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"account_id": "215719102928",
|
|
"arn": "arn:aws:iam::215719102928:user/datadog",
|
|
"id": "215719102928",
|
|
"user_id": "AIDATEOO4JHIBFNSAXC3B"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "1845680237",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAll\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"xray:GetTraceSummaries\",\n \"xray:BatchGetTraces\",\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"states:ListStateMachines\",\n \"states:DescribeStateMachine\",\n \"sqs:ListQueues\",\n \"sns:Publish\",\n \"sns:List*\",\n \"ses:Get*\",\n \"s3:PutBucketNotification\",\n \"s3:ListAllMyBuckets\",\n \"s3:GetBucketTagging\",\n \"s3:GetBucketNotification\",\n \"s3:GetBucketLogging\",\n \"s3:GetBucketLocation\",\n \"route53:List*\",\n \"redshift:DescribeLoggingStatus\",\n \"redshift:DescribeClusters\",\n \"rds:List*\",\n \"rds:Describe*\",\n \"logs:TestMetricFilter\",\n \"logs:PutSubscriptionFilter\",\n \"logs:DescribeSubscriptionFilters\",\n \"logs:DeleteSubscriptionFilter\",\n \"lambda:RemovePermission\",\n \"lambda:List*\",\n \"lambda:GetPolicy\",\n \"lambda:AddPermission\",\n \"kinesis:List*\",\n \"kinesis:Describe*\",\n \"health:DescribeEvents\",\n \"health:DescribeEventDetails\",\n \"health:DescribeAffectedEntities\",\n \"es:ListTags\",\n \"es:ListDomainNames\",\n \"es:DescribeElasticsearchDomains\",\n \"elasticmapreduce:List*\",\n \"elasticmapreduce:Describe*\",\n \"elasticloadbalancing:Describe*\",\n \"elasticfilesystem:DescribeTags\",\n \"elasticfilesystem:DescribeFileSystems\",\n \"elasticache:List*\",\n \"elasticache:Describe*\",\n \"ecs:List*\",\n \"ecs:Describe*\",\n \"ec2:Describe*\",\n \"dynamodb:List*\",\n \"dynamodb:Describe*\",\n \"directconnect:Describe*\",\n \"codedeploy:List*\",\n \"codedeploy:BatchGet*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\",\n \"cloudwatch:Describe*\",\n \"cloudtrail:GetTrailStatus\",\n \"cloudtrail:DescribeTrails\",\n \"cloudfront:ListDistributions\",\n \"cloudfront:GetDistributionConfig\",\n \"budgets:ViewBudget\",\n \"autoscaling:Describe*\",\n \"apigateway:GET\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"apigateway:GET",
|
|
"autoscaling:Describe*",
|
|
"budgets:ViewBudget",
|
|
"cloudfront:GetDistributionConfig",
|
|
"cloudfront:ListDistributions",
|
|
"cloudtrail:DescribeTrails",
|
|
"cloudtrail:GetTrailStatus",
|
|
"cloudwatch:Describe*",
|
|
"cloudwatch:Get*",
|
|
"cloudwatch:List*",
|
|
"codedeploy:BatchGet*",
|
|
"codedeploy:List*",
|
|
"directconnect:Describe*",
|
|
"dynamodb:Describe*",
|
|
"dynamodb:List*",
|
|
"ec2:Describe*",
|
|
"ecs:Describe*",
|
|
"ecs:List*",
|
|
"elasticache:Describe*",
|
|
"elasticache:List*",
|
|
"elasticfilesystem:DescribeFileSystems",
|
|
"elasticfilesystem:DescribeTags",
|
|
"elasticloadbalancing:Describe*",
|
|
"elasticmapreduce:Describe*",
|
|
"elasticmapreduce:List*",
|
|
"es:DescribeElasticsearchDomains",
|
|
"es:ListDomainNames",
|
|
"es:ListTags",
|
|
"health:DescribeAffectedEntities",
|
|
"health:DescribeEventDetails",
|
|
"health:DescribeEvents",
|
|
"kinesis:Describe*",
|
|
"kinesis:List*",
|
|
"lambda:AddPermission",
|
|
"lambda:GetPolicy",
|
|
"lambda:List*",
|
|
"lambda:RemovePermission",
|
|
"logs:DeleteSubscriptionFilter",
|
|
"logs:DescribeSubscriptionFilters",
|
|
"logs:PutSubscriptionFilter",
|
|
"logs:TestMetricFilter",
|
|
"rds:Describe*",
|
|
"rds:List*",
|
|
"redshift:DescribeClusters",
|
|
"redshift:DescribeLoggingStatus",
|
|
"route53:List*",
|
|
"s3:GetBucketLocation",
|
|
"s3:GetBucketLogging",
|
|
"s3:GetBucketNotification",
|
|
"s3:GetBucketTagging",
|
|
"s3:ListAllMyBuckets",
|
|
"s3:PutBucketNotification",
|
|
"ses:Get*",
|
|
"sns:List*",
|
|
"sns:Publish",
|
|
"sqs:ListQueues",
|
|
"states:DescribeStateMachine",
|
|
"states:ListStateMachines",
|
|
"support:*",
|
|
"tag:GetResources",
|
|
"tag:GetTagKeys",
|
|
"tag:GetTagValues",
|
|
"xray:BatchGetTraces",
|
|
"xray:GetTraceSummaries"
|
|
],
|
|
"condition": [],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [],
|
|
"resources": [
|
|
"*"
|
|
],
|
|
"sid": "DatadogAll"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "assume_role",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "1420647941",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAWSTrustRelationship\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::464622532012:root\"\n },\n \"Condition\": {\n \"StringEquals\": {\n \"sts:ExternalId\": [\n \"243c9e65587b4aa4a21610700610537b\"\n ]\n }\n }\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"sts:AssumeRole"
|
|
],
|
|
"condition": [
|
|
{
|
|
"test": "StringEquals",
|
|
"values": [
|
|
"243c9e65587b4aa4a21610700610537b"
|
|
],
|
|
"variable": "sts:ExternalId"
|
|
}
|
|
],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [
|
|
{
|
|
"identifiers": [
|
|
"arn:aws:iam::464622532012:root"
|
|
],
|
|
"type": "AWS"
|
|
}
|
|
],
|
|
"resources": [],
|
|
"sid": "DatadogAWSTrustRelationship"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "data",
|
|
"type": "aws_iam_policy_document",
|
|
"name": "core",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "2056658824",
|
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogCore\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"ec2:Describe*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"override_json": null,
|
|
"override_policy_documents": null,
|
|
"policy_id": null,
|
|
"source_json": null,
|
|
"source_policy_documents": null,
|
|
"statement": [
|
|
{
|
|
"actions": [
|
|
"cloudwatch:Get*",
|
|
"cloudwatch:List*",
|
|
"ec2:Describe*",
|
|
"support:*",
|
|
"tag:GetResources",
|
|
"tag:GetTagKeys",
|
|
"tag:GetTagValues"
|
|
],
|
|
"condition": [],
|
|
"effect": "Allow",
|
|
"not_actions": [],
|
|
"not_principals": [],
|
|
"not_resources": [],
|
|
"principals": [],
|
|
"resources": [
|
|
"*"
|
|
],
|
|
"sid": "DatadogCore"
|
|
}
|
|
],
|
|
"version": "2012-10-17"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "data",
|
|
"type": "aws_region",
|
|
"name": "current",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"description": "Europe (Ireland)",
|
|
"endpoint": "ec2.eu-west-1.amazonaws.com",
|
|
"id": "eu-west-1",
|
|
"name": "eu-west-1"
|
|
},
|
|
"sensitive_attributes": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "managed",
|
|
"type": "aws_iam_policy",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:iam::215719102928:policy/datadog-test-datadog-integration-all",
|
|
"description": "",
|
|
"id": "arn:aws:iam::215719102928:policy/datadog-test-datadog-integration-all",
|
|
"name": "datadog-test-datadog-integration-all",
|
|
"name_prefix": null,
|
|
"path": "/",
|
|
"policy": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"DatadogAll\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"xray:GetTraceSummaries\",\n \"xray:BatchGetTraces\",\n \"tag:GetTagValues\",\n \"tag:GetTagKeys\",\n \"tag:GetResources\",\n \"support:*\",\n \"states:ListStateMachines\",\n \"states:DescribeStateMachine\",\n \"sqs:ListQueues\",\n \"sns:Publish\",\n \"sns:List*\",\n \"ses:Get*\",\n \"s3:PutBucketNotification\",\n \"s3:ListAllMyBuckets\",\n \"s3:GetBucketTagging\",\n \"s3:GetBucketNotification\",\n \"s3:GetBucketLogging\",\n \"s3:GetBucketLocation\",\n \"route53:List*\",\n \"redshift:DescribeLoggingStatus\",\n \"redshift:DescribeClusters\",\n \"rds:List*\",\n \"rds:Describe*\",\n \"logs:TestMetricFilter\",\n \"logs:PutSubscriptionFilter\",\n \"logs:DescribeSubscriptionFilters\",\n \"logs:DeleteSubscriptionFilter\",\n \"lambda:RemovePermission\",\n \"lambda:List*\",\n \"lambda:GetPolicy\",\n \"lambda:AddPermission\",\n \"kinesis:List*\",\n \"kinesis:Describe*\",\n \"health:DescribeEvents\",\n \"health:DescribeEventDetails\",\n \"health:DescribeAffectedEntities\",\n \"es:ListTags\",\n \"es:ListDomainNames\",\n \"es:DescribeElasticsearchDomains\",\n \"elasticmapreduce:List*\",\n \"elasticmapreduce:Describe*\",\n \"elasticloadbalancing:Describe*\",\n \"elasticfilesystem:DescribeTags\",\n \"elasticfilesystem:DescribeFileSystems\",\n \"elasticache:List*\",\n \"elasticache:Describe*\",\n \"ecs:List*\",\n \"ecs:Describe*\",\n \"ec2:Describe*\",\n \"dynamodb:List*\",\n \"dynamodb:Describe*\",\n \"directconnect:Describe*\",\n \"codedeploy:List*\",\n \"codedeploy:BatchGet*\",\n \"cloudwatch:List*\",\n \"cloudwatch:Get*\",\n \"cloudwatch:Describe*\",\n \"cloudtrail:GetTrailStatus\",\n \"cloudtrail:DescribeTrails\",\n \"cloudfront:ListDistributions\",\n \"cloudfront:GetDistributionConfig\",\n \"budgets:ViewBudget\",\n \"autoscaling:Describe*\",\n \"apigateway:GET\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}",
|
|
"policy_id": "ANPATEOO4JHICQN63W7MF",
|
|
"tags": null,
|
|
"tags_all": {}
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration2.data.aws_iam_policy_document.all"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "managed",
|
|
"type": "aws_iam_role",
|
|
"name": "default",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"arn": "arn:aws:iam::215719102928:role/datadog-test-datadog-integration",
|
|
"assume_role_policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"DatadogAWSTrustRelationship\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::464622532012:root\"},\"Action\":\"sts:AssumeRole\",\"Condition\":{\"StringEquals\":{\"sts:ExternalId\":\"243c9e65587b4aa4a21610700610537b\"}}}]}",
|
|
"create_date": "2021-09-09T09:27:59Z",
|
|
"description": "",
|
|
"force_detach_policies": false,
|
|
"id": "datadog-test-datadog-integration",
|
|
"inline_policy": [
|
|
{
|
|
"name": "",
|
|
"policy": ""
|
|
}
|
|
],
|
|
"managed_policy_arns": [],
|
|
"max_session_duration": 3600,
|
|
"name": "datadog-test-datadog-integration",
|
|
"name_prefix": null,
|
|
"path": "/",
|
|
"permissions_boundary": null,
|
|
"tags": null,
|
|
"tags_all": {},
|
|
"unique_id": "AROATEOO4JHIPYWKBSOLE"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration2.data.aws_caller_identity.current",
|
|
"module.datadog_integration2.data.aws_iam_policy_document.assume_role",
|
|
"module.datadog_integration2.datadog_integration_aws.integration"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "managed",
|
|
"type": "aws_iam_role_policy_attachment",
|
|
"name": "all",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"id": "datadog-test-datadog-integration-20210909092801648400000002",
|
|
"policy_arn": "arn:aws:iam::215719102928:policy/datadog-test-datadog-integration-all",
|
|
"role": "datadog-test-datadog-integration"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration2.aws_iam_policy.all",
|
|
"module.datadog_integration2.aws_iam_role.default",
|
|
"module.datadog_integration2.data.aws_caller_identity.current",
|
|
"module.datadog_integration2.data.aws_iam_policy_document.all",
|
|
"module.datadog_integration2.data.aws_iam_policy_document.assume_role",
|
|
"module.datadog_integration2.datadog_integration_aws.integration"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"module": "module.datadog_integration2",
|
|
"mode": "managed",
|
|
"type": "datadog_integration_aws",
|
|
"name": "integration",
|
|
"provider": "provider[\"registry.terraform.io/datadog/datadog\"]",
|
|
"instances": [
|
|
{
|
|
"index_key": 0,
|
|
"schema_version": 0,
|
|
"attributes": {
|
|
"access_key_id": "",
|
|
"account_id": "215719102928",
|
|
"account_specific_namespace_rules": null,
|
|
"excluded_regions": null,
|
|
"external_id": "243c9e65587b4aa4a21610700610537b",
|
|
"filter_tags": null,
|
|
"host_tags": null,
|
|
"id": "215719102928:datadog-test-datadog-integration",
|
|
"role_name": "datadog-test-datadog-integration",
|
|
"secret_access_key": null
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "bnVsbA==",
|
|
"dependencies": [
|
|
"module.datadog_integration2.data.aws_caller_identity.current"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|