After generating AWS policies, we also want to generate it for Azure. But we have found that the generated policy is empty.
Could this be the issue? That no signal is sent for the Azure flag after the process has been terminated?
|
if *providerFlag == "aws" { |
Would that be a fix?
if *providerFlag == "aws" || *providerFlag == "azure" {
setINIConfigAndFileFlush()
}
After generating AWS policies, we also want to generate it for Azure. But we have found that the generated policy is empty.
Could this be the issue? That no signal is sent for the Azure flag after the process has been terminated?
iamlive/iamlivecore/service.go
Line 226 in 74da596
Would that be a fix?