I am trying to use the remote state s3 .I am encountering below issue when ever i run terraform init.
$ terraform init -backend-config=“access_key=xxxxxxxxxxx” -backend-config=“secret_key=xxxxxxxxxxxxx”
Initializing modules…
- redis_cache in modules\redis
Initializing the backend…
Successfully configured the backend “s3”! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AccessDenied: Access Denied
status code: 403, request id: 9B9829ECB717527B, host id: qKEU7VRtXgAI/N5iTq2eOdz7YBRvRuNyulKl6nJofnoUnociQ1hjA0Cr02YWGxCfC+9yEGA3Eos=