<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009dYztQSASOkta Classic EngineIntegrationsAnswered2024-03-25T10:46:41.000Z2020-10-06T18:31:58.000Z2020-10-15T19:23:17.000Z

pogij (pogij) asked a question.

Okta outputs for Terraform

Hi,

 

I'm writing some configurations via terraform and trying to figure out how to get the outputs from okta. For example here is my structure is below. I'm wondering how I can set the ID of the group creation module and app creation module so that I can use the group_assignment resource instead

 

/

main.tf

asset.thing.tf

/modules

apps/main.tf

groups/main.tf

 

 

inside of asset.thing.tf:

 

module "group" {

  source = "./modules/groups"

  

  name = "my_app_group"

  description = "some description"

}

 

* ---------------------------------------------------------------------------------------------------------------------

* CREATE THE OKTA APP

* ---------------------------------------------------------------------------------------------------------------------

module "app" {

  source = "./modules/apps"

  

  label = "MyApp"

  type = "web"

  grant_types                = ["authorization_code"]

  redirect_uris              = ["https://example.com/"]

  response_types             = ["code"]

  groups                     = ["my_app_group"]

}


This question is closed.
Loading
Okta outputs for Terraform