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

Strips unneeded code from step1 snippet #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 0 additions & 11 deletions inception_of_the_cloud_foundation/step_1/providers.tf.tf

This file was deleted.

2 changes: 1 addition & 1 deletion inception_of_the_cloud_foundation/step_1/rbac_platform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "okta_app_saml" "aws_sso" {
label = "Amazon Web Services"
preconfigured_app = "amazon_aws_sso"

app_settings_json = templatefile("${path.module}/files/okta/app_settings.json.tpl", {
app_settings_json = templatefile("${path.module}/files/okta/app_settings.json.tftpl", {
acsURL = var.aws_sso_acs_url
entityID = var.aws_sso_entity_id
})
Expand Down
31 changes: 0 additions & 31 deletions inception_of_the_cloud_foundation/step_1/variables.tf
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
variable "aws_access_key_id" {
type = string
description = "Access Key ID for AWS management account"
}

variable "aws_default_region" {
type = string
description = "Default region for AWS"
}

variable "aws_secret_access_key" {
type = string
description = "Secret Access Key for AWS management account"
sensitive = true
}

variable "aws_sso_acs_url" {
type = string
description = "AWS IAM Identity Center (AWS SSO) ACS URL for the AWS Okta App"
Expand All @@ -23,18 +7,3 @@ variable "aws_sso_entity_id" {
type = string
description = "AWS IAM Identity Center (AWS SSO) Entity ID for the AWS Okta App"
}

variable "okta_api_token" {
type = string
description = "Okta API Token"
}

variable "okta_base_url" {
type = string
description = "Okta Base URL"
}

variable "okta_org_name" {
type = string
description = "Okta organization name"
}