[holy-lambda] Command <bucket:create>
[holy-lambda] Creating a bucket normon-monitor-96661897a56449f1954de8a4627c
[holy-lambda] Bucket normon-monitor-96661897a56449f1954de8a4627c has been succesfully created!
,However whenever I try to pack or deploy, the command fails because it said that the bucket does not exists and it is not able to create it
$ bb stack:pack
[holy-lambda] Command <stack:pack>
[holy-lambda] Bucket normon-monitor-96661897a56449f1954de8a4627c does not exists. Creating one!
[holy-lambda] Command <bucket:create>
[holy-lambda] Creating a bucket normon-monitor-96661897a56449f1954de8a4627c
[holy-lambda] Unable to create a bucket normon-monitor-96661897a56449f1954de8a4627c.
[holy-lambda] AWS command output:
------------------------------------------
make_bucket failed: s3://normon-monitor-96661897a56449f1954de8a4627c5555 An error occurred (BucketAlreadyOwnedByYou) when calling the CreateBucket operation: Your previous request to create the named bucket succeeded and you already own it.
------------------------------------------
[holy-lambda] Command <stack:doctor>
[holy-lambda] ---------------------------------------
[holy-lambda] Checking health of holy-lambda stack
[holy-lambda] Home directory is: /home/miguel
[holy-lambda] Project directory is: /home/miguel/git/onetech/normon-monitor
[holy-lambda] AWS SAM version: SAM CLI, version 1.23.0
[holy-lambda] AWS CLI version: aws-cli/2.0.42 Python/3.7.3 Linux/4.19.128-microsoft-standard exe/x86_64.ubuntu.18
[holy-lambda] AWS directory is: /home/miguel/.aws
[holy-lambda] AWS directory exists?: true
[holy-lambda] Docker version: Docker version 20.10.6, build 370c289
[holy-lambda] Babashka tasks sha: 75831dc72f0ddee55a151bc8e7442b67214607fc
[holy-lambda] Babashka tasks version: 0.1.49
[holy-lambda] Babashka version: babashka v0.4.4
[holy-lambda] Runtime: :babashka
[holy-lambda] Runtime entrypoint: com.nubizzi.normon-monitor.core
[holy-lambda] Stack name: normon-monitor-96661897a56449f1954de8a4627c40d1-stack
[holy-lambda] S3 Bucket name: normon-monitor-96661897a56449f1954de8a4627c
[holy-lambda] S3 Bucket prefix: holy-lambda
[holy-lambda] S3 Bucket exists?: false
[holy-lambda] ---------------------------------------
[holy-lambda] :runtime looks good
[holy-lambda] :runtime:entrypoint looks good
[holy-lambda] :stack:capabilities looks good
[holy-lambda] :runtime:bootstrap-file is supported only for :native runtime
[holy-lambda] :runtime:native-deps is supported only for :native runtime
[holy-lambda] :runtime:native-image-args are supported only for :native runtime
[holy-lambda] :stack:name looks good
[holy-lambda] property :mvn/local-repo in file deps.edn is correct
[holy-lambda] property :mvn/local-repo in file bb.edn is correct
[holy-lambda] Syncing stack is not required
[holy-lambda] :infra:region definition looks good
[holy-lambda] :infra:bucket-prefix looks good
[holy-lambda] :stack:template looks good
[holy-lambda] :infra:bucket-name looks good, but normon-monitor-96661897a56449f1954de8a4627c does not exists (use bb :bucket:create)
[holy-lambda] Required commands ["aws" "sam" "bb" "docker" "clojure" "zip" "id" "clj-kondo" "bash"] installed!
[holy-lambda] Validating template.yml
2021-06-05 20:42:07 Loading policies from IAM...
2021-06-05 20:42:09 Finished loading policies from IAM.
/home/miguel/git/onetech/normon-monitor/template.yml is a valid SAM Template