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

Import logic app but missing workflow code #420

Closed
lintaonz opened this issue Jul 3, 2023 · 1 comment · Fixed by #421
Closed

Import logic app but missing workflow code #420

lintaonz opened this issue Jul 3, 2023 · 1 comment · Fixed by #421
Labels
enhancement New feature or request

Comments

@lintaonz
Copy link

lintaonz commented Jul 3, 2023

Hi,

I use the following command to import a logic app to Terraform.

aztfexport res "/subscriptions/xxx-xxx-xxx-xxx/resourceGroups/rg-startstop-v2/providers/Microsoft.Logic/workflows/ststv2_vms_Scheduled_start"

aztfexport will create azurerm_logic_app_workflow:

resource "azurerm_logic_app_workflow" "res-6" {
  enabled             = false
  location            = "australiaeast"
  name                = "ststv2_vms_Scheduled_start"
  resource_group_name = "rg-startstop-v2"
  tags = {
    SolutionName = "StartStopV2"
  }
  depends_on = [
    azurerm_resource_group.res-0,
  ]
}

It seems aztfexport doesn't import the logic app codes. Is it possible let aztfexport import the logic app codes as azurerm_logic_app_trigger_custom and azurerm_logic_app_action_custom too?

Thanks,

Tao

@lintaonz
Copy link
Author

@magodo Thanks for fixing the issue so quickly. When will the next release includes this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants