-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Automated configuration of Azure RunAsAccount while creating Azure Automation Account using Terraform #4431
Comments
On top of this feature request I would like to note the ability to create and use service principals for the automation account, which I believe should be possible with the azure ad provider? |
Hi @AbhishekB15, Thanks for opening this issue. |
Okay, so if the Run as account isn't usable; Terraform could still have the automation account configured with a service principal and such, instead of needing to go into the portal and do manual work. |
@MMollyy You're right. |
#4785 provides the ability to provision the Automation account private certificate side of this - hopefully it's not too terrible and gets accepted ;) Neither the To really tie this together, you'd want something like |
@weiyuping68 Happy New Year :) |
any update? this feature would be very helpful on our terraform setup. currently creating automation account manually as we require a RunAsAccount for some of our runbooks. |
Any updates on that? Thx. |
Any updates on this request please? |
Hi All, sorry to inform that the service team has confirmed that the rest API is not available in the near future due to design constraints, which means we could not provide terraform resource. |
Hi, I am sorry that the service team hasn't provide |
@dowlingw - hashicorp/terraform-provider-azuread#262 will add the ability toattach certs to SPs in azuread. |
@katbyte , this is interesting. Could you elaborate on the Terraform resources needed then? I'm guessing:
It feels to me that both What am I missing? Could you clarify? Thank you |
Hi all, I have configured a basic script to complete the
After input the second commands, just type two "enter" key. After preparing the certificate, we could use following TF script:
After creating successfully, I tested by running a powershell runbook to list all Could anyone have a try of it? Hope it could unblock all of you. |
👋 Since we've not heard back from you here I'm going to close this issue for the moment, but please let us know if the solution proposed above doesn't work for you and we'll take another look. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Community Note
Description
While creating an Azure Automation account using terraform, RunAsAccount is not getting configured automatically. It would be really helpful if the RunAsAccount configuration occurs automatically saving time for manual creation.
New or Affected Resource(s)
azurerm_automation_account
Provider version used - 1.31.0
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: