Skip to content

Commit

Permalink
Revert cloud_observability_ in variable names to lightstep_
Browse files Browse the repository at this point in the history
  • Loading branch information
nslaughter committed Oct 24, 2023
1 parent 419a3cb commit a655154
Show file tree
Hide file tree
Showing 129 changed files with 320 additions and 310 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ init:

apply:
terraform apply \
-var="cloud_observability_organization=LightStep" \
-var="cloud_observability_env=staging" \
-var="cloud_observability_project=dev-integrations" \
-var="cloud_observability_api_key_env_var=LIGHTSTEP_API_KEY"
-var="lightstep_organization=LightStep" \
-var="lightstep_env=staging" \
-var="lightstep_project=dev-integrations" \
-var="lightstep_api_key_env_var=LIGHTSTEP_API_KEY"

destroy:
terraform destroy \
-var="cloud_observability_organization=LightStep" \
-var="cloud_observability_env=staging" \
-var="cloud_observability_project=dev-integrations" \
-var="cloud_observability_api_key_env_var=LIGHTSTEP_API_KEY"
-var="lightstep_organization=LightStep" \
-var="lightstep_env=staging" \
-var="lightstep_project=dev-integrations" \
-var="lightstep_api_key_env_var=LIGHTSTEP_API_KEY"

fresh: clean init apply
8 changes: 4 additions & 4 deletions examples/applicationelb-dashboard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ terraform {
}

provider "lightstep" {
api_key_env_var = var.cloud_observability_api_key_env_var
organization = var.cloud_observability_organization
environment = var.cloud_observability_env
api_key_env_var = var.lightstep_api_key_env_var
organization = var.lightstep_organization
environment = var.lightstep_env
}

module "lightstep_applicationelb_dashboard" {
# When using these modules in your own templates, you will need to use a Git URL with a ref attribute that pins you
# to a specific version of the modules, such as the following example:
# source = "git::[email protected]:lightstep/terraform-lightstep-aws-dashboards.git//modules/ec2-dashboard?ref=v0.0.1"
source = "../../modules/applicationelb-dashboard"
cloud_observability_project = var.cloud_observability_project
lightstep_project = var.lightstep_project
}
8 changes: 4 additions & 4 deletions examples/applicationelb-dashboard/variables.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
variable "cloud_observability_project" {
variable "lightstep_project" {
description = "Name of Cloud Observability project"
type = string
}

variable "cloud_observability_organization" {
variable "lightstep_organization" {
description = "Name of Cloud Observability organization"
type = string
}

variable "cloud_observability_env" {
variable "lightstep_env" {
description = "Cloud Observability environment"
type = string
default = "public"
}

variable "cloud_observability_api_key_env_var" {
variable "lightstep_api_key_env_var" {
description = "Name of the local environment variable that contains the Cloud Observability API key"
type = string
default = "LIGHTSTEP_API_KEY"
Expand Down
2 changes: 1 addition & 1 deletion examples/ec2-dashboard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ module "lightstep_ec2_dashboard" {
# to a specific version of the modules, such as the following example:
# source = "git::[email protected]:lightstep/terraform-lightstep-aws-dashboards.git//modules/ec2-dashboard?ref=v0.0.1"
source = "../../modules/ec2-dashboard"
cloud_observability_project = var.cloud_observability_project
lightstep_project = var.lightstep_project
aws_region = "us-west-2"
}
2 changes: 1 addition & 1 deletion examples/ec2-dashboard/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable "cloud_observability_project" {
variable "lightstep_project" {
description = "Name of Cloud Observability project"
type = string
}
Expand Down
2 changes: 1 addition & 1 deletion examples/rds-dashboard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ module "lightstep_ec2_dashboard" {
# to a specific version of the modules, such as the following example:
# source = "git::[email protected]:lightstep/terraform-lightstep-aws-dashboards.git//modules/ec2-dashboard?ref=v0.0.1"
source = "../../modules/rds-dashboard"
cloud_observability_project = var.cloud_observability_project
lightstep_project = var.lightstep_project
aws_region = "us-west-2"
}
8 changes: 4 additions & 4 deletions examples/rds-dashboard/variables.tf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
variable "cloud_observability_project" {
variable "lightstep_project" {
description = "Name of Cloud Observability project"
type = string
}

variable "cloud_observability_organization" {
variable "lightstep_organization" {
description = "Name of Cloud Observability organization"
type = string
}

variable "cloud_observability_env" {
variable "lightstep_env" {
description = "Cloud Observability environment"
type = string
default = "public"
}

variable "cloud_observability_api_key_env_var" {
variable "lightstep_api_key_env_var" {
description = "Name of the local environment variable that contains the Cloud Observability API key"
type = string
default = "LIGHTSTEP_API_KEY"
Expand Down
Loading

0 comments on commit a655154

Please sign in to comment.