You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm trying to write a cloud function to run my policy.yml file. Even though everything is fine with the policy (I tested it with the custodian run command), I'm getting an assertion error when running the cloud function saying that the resource can not be loaded. The error os occuring on the from_data method.
I'm doubting that its either an authorization problem or somthing is wrong with my Config object, but I don't really know how to fix this.
Please let me know if you have any insights about this, thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to write a cloud function to run my policy.yml file. Even though everything is fine with the policy (I tested it with the custodian run command), I'm getting an assertion error when running the cloud function saying that the resource can not be loaded. The error os occuring on the from_data method.
Here's the code I'm using:
I'm doubting that its either an authorization problem or somthing is wrong with my Config object, but I don't really know how to fix this.
Please let me know if you have any insights about this, thank you!
Beta Was this translation helpful? Give feedback.
All reactions