Skip to content

Commit

Permalink
fixed credentials issue; removed account name from Azure; fixed docum…
Browse files Browse the repository at this point in the history
…entation
  • Loading branch information
Colby Goettel committed Mar 9, 2021
1 parent 0b3b3c9 commit 2d2e56e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ You will need to create a new project in GCP and set up billing. Note the projec
- Storage Admin

The following items can be set in `terraform.tfvars`:
- `credentials`: ~~The path to your service account key file. No default.~~ This isn't working. Sorry. You will need to manually edit the credentials file path in `main.tf`.
- `credentials`: The path to your service account key file. Please make sure it has the permissions listed above. No default.
- `disk_size`: The disk size (in GB) for the instance. Default `32`. [OpenCTI minimum specs](https://github.com/OpenCTI-Platform/opencti/blob/5ede2579ee3c09c248d2111b483560f07d2f2c18/opencti-documentation/docs/getting-started/requirements.md) is 32GB drive.
- `machine_type`: The GCE machine type to use. Default `e2-standard-8`. [OpenCTI minimum specs](https://github.com/OpenCTI-Platform/opencti/blob/5ede2579ee3c09c248d2111b483560f07d2f2c18/opencti-documentation/docs/getting-started/requirements.md) is 8x16. The default size is 8x32.
- `project_id`: The Google Cloud project ID. No default.
Expand Down
2 changes: 1 addition & 1 deletion aws/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# allowed_ips_application = ["0.0.0.0/0"]
# availability_zone = "us-east-1a"
# instance_type = "t3.2xlarge"
# login_email = "[email protected]"
login_email = "[email protected]"
# region = "us-east-1"
# root_volume_size = 32
# storage_bucket = "opencti-storage"
Expand Down
2 changes: 1 addition & 1 deletion azure/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
account_name = "Pay-As-You-Go"
account_name = ""
# admin_user = "azureuser"
# location = "eastus"
login_email = "[email protected]"
Expand Down
3 changes: 1 addition & 2 deletions gcp/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Configure Google Cloud provider
provider "google" {
# credentials = file("${var.credentials}") # not working
credentials = file("/path/to/key.json")
credentials = file(var.credentials)
project = var.project_id
region = var.region
}
Expand Down
4 changes: 2 additions & 2 deletions gcp/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# credentials = "Not working. Sorry. Manually edit in main.tf"
credentials = ""
# disk_size = 32
# login_email = "[email protected]"
login_email = "[email protected]"
# machine_type = "e2-standard-8"
project_id = ""
# region = "us-east1"
Expand Down
8 changes: 4 additions & 4 deletions gcp/variables.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# variable "credentials" {
# description = "Path to the service account key file."
# type = string
# }
variable "credentials" {
description = "Path to the service account key file."
type = string
}

variable "disk_size" {
description = "The disk size (in GB) for the instance."
Expand Down

0 comments on commit 2d2e56e

Please sign in to comment.