Skip to content

Instantly share code, notes, and snippets.

@alaamub
Created October 4, 2024 19:13
Show Gist options
  • Save alaamub/a1d8dddf6b3688872ac66b3436066ed0 to your computer and use it in GitHub Desktop.
Save alaamub/a1d8dddf6b3688872ac66b3436066ed0 to your computer and use it in GitHub Desktop.
{
"format_version": "1.1",
"terraform_version": "1.4.0",
"planned_values": {
"root_module": {
"resources": [
{
"address": "aws_s3_bucket.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"bucket": "aladdin-1",
"force_destroy": false,
"tags": {
"application": "aladdin-1",
"resourcely_instance_name": "aladdin_kknQCCUN7N9XM45"
},
"tags_all": {
"application": "aladdin-1",
"resourcely_instance_name": "aladdin_kknQCCUN7N9XM45"
},
"timeouts": null
},
"sensitive_values": {
"cors_rule": [],
"grant": [],
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"replication_configuration": [],
"server_side_encryption_configuration": [],
"tags": {},
"tags_all": {},
"versioning": [],
"website": []
}
},
{
"address": "aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"bucket": "resourcely-s3",
"force_destroy": false,
"tags": {
"application": "resourcely-s3",
"resourcely_instance_name": "resourcely-s3_bH8pcMYR6GZpq4hG"
},
"tags_all": {
"application": "resourcely-s3",
"resourcely_instance_name": "resourcely-s3_bH8pcMYR6GZpq4hG"
},
"timeouts": null
},
"sensitive_values": {
"cors_rule": [],
"grant": [],
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"replication_configuration": [],
"server_side_encryption_configuration": [],
"tags": {},
"tags_all": {},
"versioning": [],
"website": []
}
},
{
"address": "aws_s3_bucket_lifecycle_configuration.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_lifecycle_configuration",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"expected_bucket_owner": null,
"rule": [
{
"abort_incomplete_multipart_upload": [],
"expiration": [],
"filter": [
{
"and": [],
"object_size_greater_than": null,
"object_size_less_than": null,
"prefix": null,
"tag": []
}
],
"id": "transition-to-glacier",
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"prefix": null,
"status": "Enabled",
"transition": [
{
"date": "",
"days": 12,
"storage_class": "GLACIER"
}
]
},
{
"abort_incomplete_multipart_upload": [
{
"days_after_initiation": 7
}
],
"expiration": [],
"filter": [
{
"and": [],
"object_size_greater_than": null,
"object_size_less_than": null,
"prefix": null,
"tag": []
}
],
"id": "abort-multipart-upload",
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"prefix": null,
"status": "Enabled",
"transition": []
}
]
},
"sensitive_values": {
"rule": [
{
"abort_incomplete_multipart_upload": [],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": [
{}
]
},
{
"abort_incomplete_multipart_upload": [
{}
],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": []
}
]
}
},
{
"address": "aws_s3_bucket_ownership_controls.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"rule": [
{
"object_ownership": "BucketOwnerEnforced"
}
]
},
"sensitive_values": {
"rule": [
{}
]
}
},
{
"address": "aws_s3_bucket_ownership_controls.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"rule": [
{
"object_ownership": "BucketOwnerEnforced"
}
]
},
"sensitive_values": {
"rule": [
{}
]
}
},
{
"address": "aws_s3_bucket_public_access_block.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"block_public_acls": true,
"block_public_policy": false,
"ignore_public_acls": false,
"restrict_public_buckets": false
},
"sensitive_values": {}
},
{
"address": "aws_s3_bucket_public_access_block.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"block_public_acls": true,
"block_public_policy": true,
"ignore_public_acls": true,
"restrict_public_buckets": true
},
"sensitive_values": {}
},
{
"address": "aws_s3_bucket_versioning.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"expected_bucket_owner": null,
"mfa": null,
"versioning_configuration": [
{
"status": "Enabled"
}
]
},
"sensitive_values": {
"versioning_configuration": [
{}
]
}
},
{
"address": "aws_s3_bucket_versioning.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"schema_version": 0,
"values": {
"expected_bucket_owner": null,
"mfa": null,
"versioning_configuration": [
{
"status": "Enabled"
}
]
},
"sensitive_values": {
"versioning_configuration": [
{}
]
}
}
]
}
},
"resource_changes": [
{
"address": "aws_s3_bucket.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"bucket": "aladdin-1",
"force_destroy": false,
"tags": {
"application": "aladdin-1",
"resourcely_instance_name": "aladdin_kknQCCUN7N9XM45"
},
"tags_all": {
"application": "aladdin-1",
"resourcely_instance_name": "aladdin_kknQCCUN7N9XM45"
},
"timeouts": null
},
"after_unknown": {
"acceleration_status": true,
"acl": true,
"arn": true,
"bucket_domain_name": true,
"bucket_prefix": true,
"bucket_regional_domain_name": true,
"cors_rule": true,
"grant": true,
"hosted_zone_id": true,
"id": true,
"lifecycle_rule": true,
"logging": true,
"object_lock_configuration": true,
"object_lock_enabled": true,
"policy": true,
"region": true,
"replication_configuration": true,
"request_payer": true,
"server_side_encryption_configuration": true,
"tags": {},
"tags_all": {},
"versioning": true,
"website": true,
"website_domain": true,
"website_endpoint": true
},
"before_sensitive": false,
"after_sensitive": {
"cors_rule": [],
"grant": [],
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"replication_configuration": [],
"server_side_encryption_configuration": [],
"tags": {},
"tags_all": {},
"versioning": [],
"website": []
}
}
},
{
"address": "aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"bucket": "resourcely-s3",
"force_destroy": false,
"tags": {
"application": "resourcely-s3",
"resourcely_instance_name": "resourcely-s3_bH8pcMYR6GZpq4hG"
},
"tags_all": {
"application": "resourcely-s3",
"resourcely_instance_name": "resourcely-s3_bH8pcMYR6GZpq4hG"
},
"timeouts": null
},
"after_unknown": {
"acceleration_status": true,
"acl": true,
"arn": true,
"bucket_domain_name": true,
"bucket_prefix": true,
"bucket_regional_domain_name": true,
"cors_rule": true,
"grant": true,
"hosted_zone_id": true,
"id": true,
"lifecycle_rule": true,
"logging": true,
"object_lock_configuration": true,
"object_lock_enabled": true,
"policy": true,
"region": true,
"replication_configuration": true,
"request_payer": true,
"server_side_encryption_configuration": true,
"tags": {},
"tags_all": {},
"versioning": true,
"website": true,
"website_domain": true,
"website_endpoint": true
},
"before_sensitive": false,
"after_sensitive": {
"cors_rule": [],
"grant": [],
"lifecycle_rule": [],
"logging": [],
"object_lock_configuration": [],
"replication_configuration": [],
"server_side_encryption_configuration": [],
"tags": {},
"tags_all": {},
"versioning": [],
"website": []
}
}
},
{
"address": "aws_s3_bucket_lifecycle_configuration.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_lifecycle_configuration",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"expected_bucket_owner": null,
"rule": [
{
"abort_incomplete_multipart_upload": [],
"expiration": [],
"filter": [
{
"and": [],
"object_size_greater_than": null,
"object_size_less_than": null,
"prefix": null,
"tag": []
}
],
"id": "transition-to-glacier",
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"prefix": null,
"status": "Enabled",
"transition": [
{
"date": "",
"days": 12,
"storage_class": "GLACIER"
}
]
},
{
"abort_incomplete_multipart_upload": [
{
"days_after_initiation": 7
}
],
"expiration": [],
"filter": [
{
"and": [],
"object_size_greater_than": null,
"object_size_less_than": null,
"prefix": null,
"tag": []
}
],
"id": "abort-multipart-upload",
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"prefix": null,
"status": "Enabled",
"transition": []
}
]
},
"after_unknown": {
"bucket": true,
"id": true,
"rule": [
{
"abort_incomplete_multipart_upload": [],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": [
{}
]
},
{
"abort_incomplete_multipart_upload": [
{}
],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": []
}
]
},
"before_sensitive": false,
"after_sensitive": {
"rule": [
{
"abort_incomplete_multipart_upload": [],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": [
{}
]
},
{
"abort_incomplete_multipart_upload": [
{}
],
"expiration": [],
"filter": [
{
"and": [],
"tag": []
}
],
"noncurrent_version_expiration": [],
"noncurrent_version_transition": [],
"transition": []
}
]
}
}
},
{
"address": "aws_s3_bucket_ownership_controls.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"rule": [
{
"object_ownership": "BucketOwnerEnforced"
}
]
},
"after_unknown": {
"bucket": true,
"id": true,
"rule": [
{}
]
},
"before_sensitive": false,
"after_sensitive": {
"rule": [
{}
]
}
}
},
{
"address": "aws_s3_bucket_ownership_controls.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"rule": [
{
"object_ownership": "BucketOwnerEnforced"
}
]
},
"after_unknown": {
"bucket": true,
"id": true,
"rule": [
{}
]
},
"before_sensitive": false,
"after_sensitive": {
"rule": [
{}
]
}
}
},
{
"address": "aws_s3_bucket_public_access_block.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"block_public_acls": true,
"block_public_policy": false,
"ignore_public_acls": false,
"restrict_public_buckets": false
},
"after_unknown": {
"bucket": true,
"id": true
},
"before_sensitive": false,
"after_sensitive": {}
}
},
{
"address": "aws_s3_bucket_public_access_block.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"block_public_acls": true,
"block_public_policy": true,
"ignore_public_acls": true,
"restrict_public_buckets": true
},
"after_unknown": {
"bucket": true,
"id": true
},
"before_sensitive": false,
"after_sensitive": {}
}
},
{
"address": "aws_s3_bucket_versioning.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"expected_bucket_owner": null,
"mfa": null,
"versioning_configuration": [
{
"status": "Enabled"
}
]
},
"after_unknown": {
"bucket": true,
"id": true,
"versioning_configuration": [
{
"mfa_delete": true
}
]
},
"before_sensitive": false,
"after_sensitive": {
"versioning_configuration": [
{}
]
}
}
},
{
"address": "aws_s3_bucket_versioning.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_name": "registry.terraform.io/hashicorp/aws",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"expected_bucket_owner": null,
"mfa": null,
"versioning_configuration": [
{
"status": "Enabled"
}
]
},
"after_unknown": {
"bucket": true,
"id": true,
"versioning_configuration": [
{
"mfa_delete": true
}
]
},
"before_sensitive": false,
"after_sensitive": {
"versioning_configuration": [
{}
]
}
}
}
],
"configuration": {
"provider_config": {
"aws": {
"name": "aws",
"full_name": "registry.terraform.io/hashicorp/aws",
"expressions": {
"access_key": {
"references": [
"var.AWS_ACCESS_KEY"
]
},
"assume_role": [
{
"external_id": {
"constant_value": "resourcely"
},
"role_arn": {
"constant_value": "arn:aws:iam::315040492946:role/resourcely-tfc"
}
}
],
"region": {
"constant_value": "us-east-1"
},
"secret_key": {
"references": [
"var.AWS_SECRET_KEY"
]
}
}
}
},
"root_module": {
"resources": [
{
"address": "aws_s3_bucket.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"constant_value": "aladdin-1"
},
"tags": {
"constant_value": {
"application": "aladdin-1",
"resourcely_instance_name": "aladdin_kknQCCUN7N9XM45"
}
}
},
"schema_version": 0
},
{
"address": "aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"constant_value": "resourcely-s3"
},
"tags": {
"constant_value": {
"application": "resourcely-s3",
"resourcely_instance_name": "resourcely-s3_bH8pcMYR6GZpq4hG"
}
}
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_lifecycle_configuration.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_lifecycle_configuration",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"references": [
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG.id",
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG"
]
},
"rule": [
{
"filter": [
{}
],
"id": {
"constant_value": "transition-to-glacier"
},
"status": {
"constant_value": "Enabled"
},
"transition": [
{
"days": {
"constant_value": 12
},
"storage_class": {
"constant_value": "GLACIER"
}
}
]
},
{
"abort_incomplete_multipart_upload": [
{
"days_after_initiation": {
"constant_value": 7
}
}
],
"filter": [
{}
],
"id": {
"constant_value": "abort-multipart-upload"
},
"status": {
"constant_value": "Enabled"
}
}
]
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_ownership_controls.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"references": [
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45.id",
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45"
]
},
"rule": [
{
"object_ownership": {
"constant_value": "BucketOwnerEnforced"
}
}
]
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_ownership_controls.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_ownership_controls",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"references": [
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG.id",
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG"
]
},
"rule": [
{
"object_ownership": {
"constant_value": "BucketOwnerEnforced"
}
}
]
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_public_access_block.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_config_key": "aws",
"expressions": {
"block_public_acls": {
"constant_value": true
},
"block_public_policy": {
"constant_value": false
},
"bucket": {
"references": [
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45.id",
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45"
]
},
"ignore_public_acls": {
"constant_value": false
},
"restrict_public_buckets": {
"constant_value": false
}
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_public_access_block.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_public_access_block",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_config_key": "aws",
"expressions": {
"block_public_acls": {
"constant_value": true
},
"block_public_policy": {
"constant_value": true
},
"bucket": {
"references": [
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG.id",
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG"
]
},
"ignore_public_acls": {
"constant_value": true
},
"restrict_public_buckets": {
"constant_value": true
}
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_versioning.aladdin_kknQCCUN7N9XM45",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "aladdin_kknQCCUN7N9XM45",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"references": [
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45.id",
"aws_s3_bucket.aladdin_kknQCCUN7N9XM45"
]
},
"versioning_configuration": [
{
"status": {
"constant_value": "Enabled"
}
}
]
},
"schema_version": 0
},
{
"address": "aws_s3_bucket_versioning.resourcely-s3_bH8pcMYR6GZpq4hG",
"mode": "managed",
"type": "aws_s3_bucket_versioning",
"name": "resourcely-s3_bH8pcMYR6GZpq4hG",
"provider_config_key": "aws",
"expressions": {
"bucket": {
"references": [
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG.id",
"aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG"
]
},
"versioning_configuration": [
{
"status": {
"constant_value": "Enabled"
}
}
]
},
"schema_version": 0
}
],
"variables": {
"AWS_ACCESS_KEY": {
"sensitive": true
},
"AWS_SECRET_KEY": {
"sensitive": true
}
}
}
},
"relevant_attributes": [
{
"resource": "aws_s3_bucket.aladdin_kknQCCUN7N9XM45",
"attribute": [
"id"
]
},
{
"resource": "aws_s3_bucket.resourcely-s3_bH8pcMYR6GZpq4hG",
"attribute": [
"id"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment