Hi! I am getting this error:
"The If-Match version is missing or not valid for the resource"
EDIT: I found out!
It is missing these steps:
CERT_ETAG=$(aws cloudfront get-distribution-config --id $MY_CLOUDFRONT_ID --query ETag) # remove quotes: CERT_ETAG="${CERT_ETAG%\"}" CERT_ETAG="${CERT_ETAG#\"}" aws cloudfront update-distribution --if-match $CERT_ETAG --id $MY_CLOUDFRONT_ID --distribution-config file://config.json
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! I am getting this error:
"The If-Match version is missing or not valid for the resource"
EDIT: I found out!
It is missing these steps: