Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Azure Resource Manager provider terraform configuration #704

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
bf95e21
Add new azure resorce manager branch and privider terraform file
Apr 27, 2016
690b73f
Addition of terraform variables file
Apr 27, 2016
d2d5649
Rename folder to azurerm
Apr 27, 2016
51c370d
Addition of virtual network and storage account
Apr 28, 2016
3aedd81
Addition bastion server and master servers configuration
Apr 28, 2016
809a9c9
updates and addition of slave server configuration
Apr 29, 2016
1c53919
Merge branch 'master' into azure_rmprovider
May 6, 2016
6b79f6c
update slave references to agent
May 6, 2016
57e9c82
Updates to run remote execution scripts on server
May 9, 2016
cd19c54
update remote-exec to use certificate authentication, requires Terraf…
May 10, 2016
5274c5b
Add new azure resorce manager branch and privider terraform file
Apr 27, 2016
9298210
Addition of terraform variables file
Apr 27, 2016
63028d1
Rename folder to azurerm
Apr 27, 2016
f778e83
Addition of virtual network and storage account
Apr 28, 2016
88c2bd8
Addition bastion server and master servers configuration
Apr 28, 2016
974d0fa
updates and addition of slave server configuration
Apr 29, 2016
d8e04d6
update slave references to agent
May 6, 2016
15cda48
Updates to run remote execution scripts on server
May 9, 2016
be8a3d4
update remote-exec to use certificate authentication, requires Terraf…
May 10, 2016
72c737a
Merge branch 'azure_rmprovider' of https://github.com/heywoodj/Apollo…
May 10, 2016
0eac48b
Merge branch 'master' into azure_rmprovider
May 10, 2016
92f594a
Clean up formatting
May 10, 2016
522d7c7
Clean up formatting
May 10, 2016
c0f64c7
Clean up formatting
May 10, 2016
432f10b
Merge branch 'master' into azure_rmprovider
May 16, 2016
7f35c1e
Move into 'private-cloud' folder
May 16, 2016
a6c68cb
Update to configure VM's through bastion host
May 16, 2016
53dc1e1
Update servers to copy files from correct location.
May 16, 2016
5ae33fc
Fix format issue.
May 16, 2016
a8142a7
Fix format issue.
May 16, 2016
12effba
Inclusion of cloud config and seperation of subnets
May 17, 2016
d7412d9
Fix format issues
May 17, 2016
0af0c9d
Fix format issues
May 17, 2016
712d630
Update to create bastion security group
May 18, 2016
cf8eb3f
Fix formatting
May 18, 2016
0ebb252
Fix formatting
May 18, 2016
2f65fa9
Addition of public azure infrastructure
May 23, 2016
a0ca621
Fix formatting
May 23, 2016
24423d4
Addition of route tables and gateway
May 25, 2016
9b57654
Fix formatting
May 25, 2016
ba9c292
Create README.md
May 26, 2016
0c2dc51
Delete README.md
May 26, 2016
8587ef0
Create README.md
May 26, 2016
9eba56a
Update README.md
May 26, 2016
8161be6
Update README.md
May 26, 2016
b573442
Update README.md
May 26, 2016
e7713af
Update README.md
May 26, 2016
b0e357f
Update README.md
May 26, 2016
76e8517
update path to script files
May 26, 2016
25ff003
Merge branch 'azure_rmprovider' of https://github.com/heywoodj/Apollo…
May 26, 2016
726d104
Update README.md
May 26, 2016
2ee172a
Update README.md
May 26, 2016
e08dd7a
Create README.md
May 26, 2016
7baefff
Add images folder
May 31, 2016
7cea6d7
Update README.md
May 31, 2016
4be2738
Update README.md
May 31, 2016
81c8910
Update README.md
May 31, 2016
f484bd4
Delete README.md
May 31, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions terraform/azurerm/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Configure auth 2 resource manager authentication. This requires an aplication to be set up in Azure, see
https://www.terraform.io/docs/providers/azurerm/index.html fo details. */

provider "azurerm" {
subscription_id = "${var.subscription_id}"
client_id = "${var.client_id}"
client_secret = "${var.client_secret}"
tenant_id = "${var.tenant_id}"
}
28 changes: 28 additions & 0 deletions terraform/azurerm/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
variable "subscription_id" {
description = "The Azure subscrition identifier (guid)."
}

variable "client_id" {
description = "The oAuth 2 client id. "
}

variable "client_secret" {
description = "The oAuth 2 client secret."
}

variable "tenant_id" {
description = "The oAuth 2 tenant id."
}

variable "location" {
description = "The deployment azure data centre location."
}

variable "vn_cidr_block" {
description = "Cidr block for the VN."
}

variable "subnet_cidr_block" {
description = "CIDR for private subnet"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to have some defaults for location , vn_cidr_block and subnet_cidr_block