We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Input:
imports: - path: templates/service_accounts.jinja name: service_accounts.jinja resources: - name: cloud-functions type: service_accounts.jinja properties: description: "Fallback service account for functions"
service_accounts.jinja:
resources: - type: gcp-types/iam-v1:projects.serviceAccounts name: {{ env['name'] }} properties: accountId: {{ env['name'] }} displayName: {{ env['name'] }} {% if 'description' in properties %} description: {{ properties['description'] }} {% endif %}
Output:
- code: RESOURCE_ERROR location: /deployments/resources-service-accounts/resources/cfs-email message: '{"ResourceType":"gcp-types/iam-v1:projects.serviceAccounts","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"Invalid JSON payload received. Unknown name \"description\": Cannot find field.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.rpc.BadRequest","fieldViolations":[{"description":"Invalid JSON payload received. Unknown name \"description\": Cannot find field."}]}],"statusMessage":"Bad Request","requestPath":"https://iam.googleapis.com/v1/projects/project-app/serviceAccounts","httpMethod":"POST"}}'
It's unclear why my request is invalid, and why it throws INVALID_ARGUMENT as docs say description is a valid field..
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Input:
service_accounts.jinja:
Output:
It's unclear why my request is invalid, and why it throws INVALID_ARGUMENT as docs say description is a valid field..
Any ideas?
The text was updated successfully, but these errors were encountered: