Open tomarv2 opened 1 year ago
Looks like the value coming in https://github.com/cloud-custodian/cloud-custodian/blob/620d17df550df718f2f3dc6c044be13604025511/c7n/output.py#L483
def get_output_vars(self):
data = {
'account_id': self.ctx.options.account_id,
'region': self.ctx.options.region,
'policy_name': self.ctx.policy.name,
'now': datetime.datetime.utcnow(),
'uuid': str(uuid.uuid4()),
}
{'account_id': None, 'region': '', 'policy_name': 'subnet-flowlogs-enable', 'now': datetime.datetime(2023, 2, 13, 3, 16, 44, 398792), 'uuid': '52752f3a-d55e-4fa7-9bef-a1d4b984ac50'}
Describe the bug
Project Id is showing up as
None
in the path in the logs output:Cloud Provider
Google Cloud (GCP)