Skip to content

Commit

Permalink
Fixes for eks
Browse files Browse the repository at this point in the history
  • Loading branch information
saamalik committed Sep 4, 2024
1 parent 259e2b4 commit 2344f45
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/edison-yaml-tfapply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
run: |
terraform apply -auto-approve -no-color -input=false \
-var 'sc_host=${{ secrets.SC_HOST }}' \
-var 'sc_project_name=FDefault' \
-var 'sc_project_name=Default' \
-var 'sc_api_key=${{ secrets.SC_API_KEY }}' \
4 changes: 2 additions & 2 deletions edison-ai-yaml-tf-scripts/clusterprofile-generic.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ locals {
locals {
profile_ids = merge({
// TODO rename to aws
ProdEKS-minimum = data.spectrocloud_cluster_profile.prodeks_min.id
ProdEKS = data.spectrocloud_cluster_profile.prodeks_min.id
# ProdEKS-1 = spectrocloud_cluster_profile.this.id
# ProdVMware-1 = data.spectrocloud_cluster_profile.vmware.id
}, {
Expand All @@ -40,7 +40,7 @@ locals {
}

data "spectrocloud_cluster_profile" "prodeks_min" {
name = "ProdEKS-minimum"
name = "ProdEKS"
}

resource "spectrocloud_cluster_profile" "generic" {
Expand Down
6 changes: 3 additions & 3 deletions edison-ai-yaml-tf-scripts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ provider "spectrocloud" {
}

data "spectrocloud_cloudaccount_aws" "default" {
name = "aws-eks"
name = "aws-stage-picard"
}

data "spectrocloud_cluster_profile" "sc" {
name = "ProdEKS-minimum"
version = "1.0.1"
name = "ProdEKS"
version = "1.0.0"
}

2 changes: 1 addition & 1 deletion edison-ai-yaml/cluster-eks-tools-prod-1.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: tools-prod-1
cloud_account: aws-eks
profiles:
infra: ProdEKS-minimum
infra: ProdEKS
cloud_config:
aws_region: us-east-1
ssh_key: default
Expand Down

0 comments on commit 2344f45

Please sign in to comment.