We are in the way to migrate from api calls to terraform to spin resources/accesses/policies in aws. I was bit struct in a place where I could not find an option to pass CallerReference
to aws terraform resource aws_cloudfront_origin_access_identity
.
We have this option using api: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateCloudFrontOriginAccessIdentity.html
Do we have any custom options for passing the same in other ways?
CodePudding user response:
If its not directly supported by TF, you can always use local-exec with AWS CLI to create your origin identity.