{{- range $config := .Values.config }}
apiVersion: aws.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: "{{ $config.name }}"
  {{- with $config.annotations }}
  annotations:
  {{- toYaml . | nindent 4 }}
  {{- end }}
spec:
  {{- with $config.assumeRoleARN }}
  assumeRoleARN: {{ tpl . $ }}
  {{- end  }}
  credentials:
    source: InjectedIdentity
---
{{- end }}
