Skip to content

Commit

Permalink
Add Terraform state files for state bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelovilla committed Oct 28, 2024
1 parent 3707aa8 commit 34bfa7c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions web/deploy/terraform/state/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/deploy/terraform/state/terraform.tfstate
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":4,"terraform_version":"1.8.3","serial":17,"lineage":"42f82bf5-8bc1-2631-3209-afedb6e78b79","outputs":{},"resources":[{"module":"module.prod_state","mode":"managed","type":"aws_dynamodb_table","name":"tf_locks","provider":"module.prod_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":1,"attributes":{"arn":"arn:aws:dynamodb:us-east-1:507624629289:table/terraform-state-locks-prod","attribute":[{"name":"LockID","type":"S"}],"billing_mode":"PAY_PER_REQUEST","deletion_protection_enabled":false,"global_secondary_index":[],"hash_key":"LockID","id":"terraform-state-locks-prod","import_table":[],"local_secondary_index":[],"name":"terraform-state-locks-prod","on_demand_throughput":[],"point_in_time_recovery":[{"enabled":false}],"range_key":null,"read_capacity":0,"replica":[],"restore_date_time":null,"restore_source_name":null,"restore_source_table_arn":null,"restore_to_latest_time":null,"server_side_encryption":[],"stream_arn":"","stream_enabled":false,"stream_label":"","stream_view_type":"","table_class":"STANDARD","tags":{"Name":"osm-terraform-state-storage-prod"},"tags_all":{"Name":"osm-terraform-state-storage-prod"},"timeouts":null,"ttl":[{"attribute_name":"","enabled":false}],"write_capacity":0},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjozNjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="}]},{"module":"module.prod_state","mode":"managed","type":"aws_s3_bucket","name":"tf_state","provider":"module.prod_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"acceleration_status":"","acl":null,"arn":"arn:aws:s3:::osm-terraform-state-storage-prod","bucket":"osm-terraform-state-storage-prod","bucket_domain_name":"osm-terraform-state-storage-prod.s3.amazonaws.com","bucket_prefix":"","bucket_regional_domain_name":"osm-terraform-state-storage-prod.s3.us-east-1.amazonaws.com","cors_rule":[],"force_destroy":false,"grant":[{"id":"b6e96f153ed2059480e56f0ad36a4711f844b60e2866ec0ebef27a4c7103edc3","permissions":["FULL_CONTROL"],"type":"CanonicalUser","uri":""}],"hosted_zone_id":"Z3AQBSTGFYJSTF","id":"osm-terraform-state-storage-prod","lifecycle_rule":[],"logging":[],"object_lock_configuration":[],"object_lock_enabled":false,"policy":"","region":"us-east-1","replication_configuration":[],"request_payer":"BucketOwner","server_side_encryption_configuration":[{"rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":false}]}],"tags":{"Name":"osm-terraform-state-storage-prod"},"tags_all":{"Name":"osm-terraform-state-storage-prod"},"timeouts":null,"versioning":[{"enabled":false,"mfa_delete":false}],"website":[],"website_domain":null,"website_endpoint":null},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"}]},{"module":"module.prod_state","mode":"managed","type":"aws_s3_bucket_lifecycle_configuration","name":"tf_state","provider":"module.prod_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-prod","expected_bucket_owner":"","id":"osm-terraform-state-storage-prod","rule":[{"abort_incomplete_multipart_upload":[],"expiration":[{"date":"","days":365,"expired_object_delete_marker":false}],"filter":[{"and":[],"object_size_greater_than":"","object_size_less_than":"","prefix":"","tag":[]}],"id":"tf_state_prod","noncurrent_version_expiration":[],"noncurrent_version_transition":[],"prefix":"","status":"Enabled","transition":[{"date":"","days":30,"storage_class":"STANDARD_IA"}]}],"timeouts":null,"transition_default_minimum_object_size":"all_storage_classes_128K"},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwfX0=","dependencies":["module.prod_state.aws_s3_bucket.tf_state"]}]},{"module":"module.prod_state","mode":"managed","type":"aws_s3_bucket_server_side_encryption_configuration","name":"default","provider":"module.prod_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-prod","expected_bucket_owner":"","id":"osm-terraform-state-storage-prod","rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":null}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.prod_state.aws_s3_bucket.tf_state"]}]},{"module":"module.prod_state","mode":"managed","type":"aws_s3_bucket_versioning","name":"enabled","provider":"module.prod_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-prod","expected_bucket_owner":"","id":"osm-terraform-state-storage-prod","mfa":null,"versioning_configuration":[{"mfa_delete":"","status":"Enabled"}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.prod_state.aws_s3_bucket.tf_state"]}]},{"module":"module.shared_state","mode":"managed","type":"aws_dynamodb_table","name":"tf_locks","provider":"module.shared_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":1,"attributes":{"arn":"arn:aws:dynamodb:us-east-1:507624629289:table/terraform-state-locks-shared","attribute":[{"name":"LockID","type":"S"}],"billing_mode":"PAY_PER_REQUEST","deletion_protection_enabled":false,"global_secondary_index":[],"hash_key":"LockID","id":"terraform-state-locks-shared","import_table":[],"local_secondary_index":[],"name":"terraform-state-locks-shared","on_demand_throughput":[],"point_in_time_recovery":[{"enabled":false}],"range_key":null,"read_capacity":0,"replica":[],"restore_date_time":null,"restore_source_name":null,"restore_source_table_arn":null,"restore_to_latest_time":null,"server_side_encryption":[],"stream_arn":"","stream_enabled":false,"stream_label":"","stream_view_type":"","table_class":"STANDARD","tags":{"Name":"osm-terraform-state-storage-shared"},"tags_all":{"Name":"osm-terraform-state-storage-shared"},"timeouts":null,"ttl":[{"attribute_name":"","enabled":false}],"write_capacity":0},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjozNjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="}]},{"module":"module.shared_state","mode":"managed","type":"aws_s3_bucket","name":"tf_state","provider":"module.shared_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"acceleration_status":"","acl":null,"arn":"arn:aws:s3:::osm-terraform-state-storage-shared","bucket":"osm-terraform-state-storage-shared","bucket_domain_name":"osm-terraform-state-storage-shared.s3.amazonaws.com","bucket_prefix":"","bucket_regional_domain_name":"osm-terraform-state-storage-shared.s3.us-east-1.amazonaws.com","cors_rule":[],"force_destroy":false,"grant":[{"id":"b6e96f153ed2059480e56f0ad36a4711f844b60e2866ec0ebef27a4c7103edc3","permissions":["FULL_CONTROL"],"type":"CanonicalUser","uri":""}],"hosted_zone_id":"Z3AQBSTGFYJSTF","id":"osm-terraform-state-storage-shared","lifecycle_rule":[{"abort_incomplete_multipart_upload_days":0,"enabled":true,"expiration":[{"date":"","days":365,"expired_object_delete_marker":false}],"id":"tf_state_shared","noncurrent_version_expiration":[],"noncurrent_version_transition":[],"prefix":"","tags":{},"transition":[{"date":"","days":30,"storage_class":"STANDARD_IA"}]}],"logging":[],"object_lock_configuration":[],"object_lock_enabled":false,"policy":"","region":"us-east-1","replication_configuration":[],"request_payer":"BucketOwner","server_side_encryption_configuration":[{"rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":false}]}],"tags":{"Name":"osm-terraform-state-storage-shared"},"tags_all":{"Name":"osm-terraform-state-storage-shared"},"timeouts":null,"versioning":[{"enabled":true,"mfa_delete":false}],"website":[],"website_domain":null,"website_endpoint":null},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"}]},{"module":"module.shared_state","mode":"managed","type":"aws_s3_bucket_lifecycle_configuration","name":"tf_state","provider":"module.shared_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-shared","expected_bucket_owner":"","id":"osm-terraform-state-storage-shared","rule":[{"abort_incomplete_multipart_upload":[],"expiration":[{"date":"","days":365,"expired_object_delete_marker":false}],"filter":[{"and":[],"object_size_greater_than":"","object_size_less_than":"","prefix":"","tag":[]}],"id":"tf_state_shared","noncurrent_version_expiration":[],"noncurrent_version_transition":[],"prefix":"","status":"Enabled","transition":[{"date":"","days":30,"storage_class":"STANDARD_IA"}]}],"timeouts":null,"transition_default_minimum_object_size":"all_storage_classes_128K"},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwfX0=","dependencies":["module.shared_state.aws_s3_bucket.tf_state"]}]},{"module":"module.shared_state","mode":"managed","type":"aws_s3_bucket_server_side_encryption_configuration","name":"default","provider":"module.shared_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-shared","expected_bucket_owner":"","id":"osm-terraform-state-storage-shared","rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":false}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.shared_state.aws_s3_bucket.tf_state"]}]},{"module":"module.shared_state","mode":"managed","type":"aws_s3_bucket_versioning","name":"enabled","provider":"module.shared_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-shared","expected_bucket_owner":"","id":"osm-terraform-state-storage-shared","mfa":null,"versioning_configuration":[{"mfa_delete":"","status":"Enabled"}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.shared_state.aws_s3_bucket.tf_state"]}]},{"module":"module.stage_state","mode":"managed","type":"aws_dynamodb_table","name":"tf_locks","provider":"module.stage_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":1,"attributes":{"arn":"arn:aws:dynamodb:us-east-1:507624629289:table/terraform-state-locks-stage","attribute":[{"name":"LockID","type":"S"}],"billing_mode":"PAY_PER_REQUEST","deletion_protection_enabled":false,"global_secondary_index":[],"hash_key":"LockID","id":"terraform-state-locks-stage","import_table":[],"local_secondary_index":[],"name":"terraform-state-locks-stage","on_demand_throughput":[],"point_in_time_recovery":[{"enabled":false}],"range_key":null,"read_capacity":0,"replica":[],"restore_date_time":null,"restore_source_name":null,"restore_source_table_arn":null,"restore_to_latest_time":null,"server_side_encryption":[],"stream_arn":"","stream_enabled":false,"stream_label":"","stream_view_type":"","table_class":"STANDARD","tags":{"Name":"osm-terraform-state-storage-stage"},"tags_all":{"Name":"osm-terraform-state-storage-stage"},"timeouts":null,"ttl":[{"attribute_name":"","enabled":false}],"write_capacity":0},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAwLCJkZWxldGUiOjYwMDAwMDAwMDAwMCwidXBkYXRlIjozNjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="}]},{"module":"module.stage_state","mode":"managed","type":"aws_s3_bucket","name":"tf_state","provider":"module.stage_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"acceleration_status":"","acl":null,"arn":"arn:aws:s3:::osm-terraform-state-storage-stage","bucket":"osm-terraform-state-storage-stage","bucket_domain_name":"osm-terraform-state-storage-stage.s3.amazonaws.com","bucket_prefix":"","bucket_regional_domain_name":"osm-terraform-state-storage-stage.s3.us-east-1.amazonaws.com","cors_rule":[],"force_destroy":false,"grant":[{"id":"b6e96f153ed2059480e56f0ad36a4711f844b60e2866ec0ebef27a4c7103edc3","permissions":["FULL_CONTROL"],"type":"CanonicalUser","uri":""}],"hosted_zone_id":"Z3AQBSTGFYJSTF","id":"osm-terraform-state-storage-stage","lifecycle_rule":[{"abort_incomplete_multipart_upload_days":0,"enabled":true,"expiration":[{"date":"","days":365,"expired_object_delete_marker":false}],"id":"tf_state_stage","noncurrent_version_expiration":[],"noncurrent_version_transition":[],"prefix":"","tags":{},"transition":[{"date":"","days":30,"storage_class":"STANDARD_IA"}]}],"logging":[],"object_lock_configuration":[],"object_lock_enabled":false,"policy":"","region":"us-east-1","replication_configuration":[],"request_payer":"BucketOwner","server_side_encryption_configuration":[{"rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":false}]}],"tags":{"Name":"osm-terraform-state-storage-stage"},"tags_all":{"Name":"osm-terraform-state-storage-stage"},"timeouts":null,"versioning":[{"enabled":true,"mfa_delete":false}],"website":[],"website_domain":null,"website_endpoint":null},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjM2MDAwMDAwMDAwMDAsInJlYWQiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19"}]},{"module":"module.stage_state","mode":"managed","type":"aws_s3_bucket_lifecycle_configuration","name":"tf_state","provider":"module.stage_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-stage","expected_bucket_owner":"","id":"osm-terraform-state-storage-stage","rule":[{"abort_incomplete_multipart_upload":[],"expiration":[{"date":"","days":365,"expired_object_delete_marker":false}],"filter":[{"and":[],"object_size_greater_than":"","object_size_less_than":"","prefix":"","tag":[]}],"id":"tf_state_stage","noncurrent_version_expiration":[],"noncurrent_version_transition":[],"prefix":"","status":"Enabled","transition":[{"date":"","days":30,"storage_class":"STANDARD_IA"}]}],"timeouts":null,"transition_default_minimum_object_size":"all_storage_classes_128K"},"sensitive_attributes":[],"private":"eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxODAwMDAwMDAwMDAsInVwZGF0ZSI6MTgwMDAwMDAwMDAwfX0=","dependencies":["module.stage_state.aws_s3_bucket.tf_state"]}]},{"module":"module.stage_state","mode":"managed","type":"aws_s3_bucket_server_side_encryption_configuration","name":"default","provider":"module.stage_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-stage","expected_bucket_owner":"","id":"osm-terraform-state-storage-stage","rule":[{"apply_server_side_encryption_by_default":[{"kms_master_key_id":"","sse_algorithm":"AES256"}],"bucket_key_enabled":false}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.stage_state.aws_s3_bucket.tf_state"]}]},{"module":"module.stage_state","mode":"managed","type":"aws_s3_bucket_versioning","name":"enabled","provider":"module.stage_state.provider[\"registry.opentofu.org/hashicorp/aws\"]","instances":[{"schema_version":0,"attributes":{"bucket":"osm-terraform-state-storage-stage","expected_bucket_owner":"","id":"osm-terraform-state-storage-stage","mfa":null,"versioning_configuration":[{"mfa_delete":"","status":"Enabled"}]},"sensitive_attributes":[],"private":"bnVsbA==","dependencies":["module.stage_state.aws_s3_bucket.tf_state"]}]}],"check_results":null}

0 comments on commit 34bfa7c

Please sign in to comment.