Skip to content

Commit

Permalink
Updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 17, 2020
1 parent e107981 commit 07e1faf
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 32 deletions.
6 changes: 3 additions & 3 deletions examples/Feeds-Creation/main.tf
@@ -1,7 +1,7 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

# Feed username and password are only needed if authentication is required
Expand Down
10 changes: 5 additions & 5 deletions examples/Library-VariableSet-Creation/main.tf
@@ -1,10 +1,10 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_library_variable_set" "newaccount" {
name = var.variableSetName
description = var.description
description = var.description
name = var.variableSetName
}
9 changes: 5 additions & 4 deletions examples/Lifecycle-Creation/main.tf
@@ -1,13 +1,14 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_lifecycle" "newLifecycle" {
name = var.lifecycleName

release_retention_policy {
quantity_to_keep = 30
quantity_to_keep = 5
unit = "Days"
}
}
8 changes: 4 additions & 4 deletions examples/Project-Creation/main.tf
@@ -1,11 +1,11 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_project" "DevOpsProject" {
name = "Terratest"
lifecycle_id = "Default Lifecycle"
name = "Terratest"
project_group_id = "Projects-1"
}
10 changes: 5 additions & 5 deletions examples/Project-Group-Creation/main.tf
@@ -1,10 +1,10 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_project_group" "DevOpsProject" {
name = "testProject"
description = "my test project group"
description = "my test project group"
name = "testProject"
}
16 changes: 8 additions & 8 deletions examples/UsernamePassword-Creation/main.tf
@@ -1,11 +1,11 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_usernamepassword_account" "username" {
name = "newuser"
username = "testing"
password = "testing123!@#"
}
resource "octopusdeploy_username_password_account" "username" {
name = "newuser"
username = "testing"
password = "testing123!@#"
}
6 changes: 3 additions & 3 deletions examples/Variable-Creation/main.tf
@@ -1,7 +1,7 @@
provider "octopusdeploy" {
address = var.serverURL
apikey = var.apiKey
space_id = var.space
address = var.serverURL
apikey = var.apiKey
space_id = var.space
}

resource "octopusdeploy_variable" "newVariable" {
Expand Down

0 comments on commit 07e1faf

Please sign in to comment.