Skip to content

Commit

Permalink
Refactor .gitignore and backend.tf files
Browse files Browse the repository at this point in the history
  • Loading branch information
ShocOne committed Sep 26, 2024
1 parent 87c61ca commit 5df5a3b
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 28 deletions.
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,26 @@
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Terraform
**/.terraform/*
*.tfstate
*.tfstate.*
crash.log
crash.*.log
*.tfvars
*.tfvars.json
override.tf
override.tf.json
*_override.tf
*_override.tf.json
.terraformrc
terraform.rc
*.lock.hcl

# Exclude all .tfplan files
*.tfplan

# Exclude CLI configuration files
.terraformrc
terraform.rc
2 changes: 1 addition & 1 deletion workload/terraform/jamfpro/backend.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
cloud {
organization = "deploymenttheory"
workspaces {
tags = ["Jamf Pro"]
tags = ["jamf_pro"]
}
}
}
54 changes: 27 additions & 27 deletions workload/terraform/jamfpro/buildings.tf
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@

# resource "jamfpro_building" "jamfpro_building_001" {
# name = "tf-demo-Apple-Park"
# street_address1 = "The McIntosh Tree"
# street_address2 = "One Apple Park Way"
# city = "Cupertino"
# state_province = "California"
# zip_postal_code = "95014"
# country = "The United States of America"
# }
resource "jamfpro_building" "jamfpro_building_001" {
name = "tf-demo-Apple-Park"
street_address1 = "The McIntosh Tree"
street_address2 = "One Apple Park Way"
city = "Cupertino"
state_province = "California"
zip_postal_code = "95014"
country = "The United States of America"
}

# resource "jamfpro_building" "jamfpro_building_002" {
# name = "tf-demo-jamf-headquarters"
# street_address1 = "100 Washington Ave S"
# street_address2 = "Suite 1100"
# city = "Minneapolis"
# state_province = "Minnesota"
# zip_postal_code = "55401"
# country = "The United States of America"
# }
resource "jamfpro_building" "jamfpro_building_002" {
name = "tf-demo-jamf-headquarters"
street_address1 = "100 Washington Ave S"
street_address2 = "Suite 1100"
city = "Minneapolis"
state_province = "Minnesota"
zip_postal_code = "55401"
country = "The United States of America"
}

# resource "jamfpro_building" "jamfpro_building_003" {
# name = "tf-demo-Apple-Battersea"
# street_address1 = "Ground Floor, Turbine Hall A, Circus Rd W, Nine Elms"
# street_address2 = "Suite 1100"
# city = "London"
# state_province = "London"
# zip_postal_code = "SW11 8AL"
# country = "United Kingdom"
# }
resource "jamfpro_building" "jamfpro_building_003" {
name = "tf-demo-Apple-Battersea"
street_address1 = "Ground Floor, Turbine Hall A, Circus Rd W, Nine Elms"
street_address2 = "Suite 1100"
city = "London"
state_province = "London"
zip_postal_code = "SW11 8AL"
country = "United Kingdom"
}

0 comments on commit 5df5a3b

Please sign in to comment.