Hey Team , facing below error when using dagster-k...
# deployment-kubernetes
s
Hey Team , facing below error when using dagster-k8 helm deployment
Copy code
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden
Note: Instead of using graph decorator i have used graph definition to create the graph. Any help on this issue?
Copy code
def example_graph():
    graph_def = GraphDefinition(
        name="step_isolated_job",
        node_defs=[multiply_the_word,count_letters ],
        dependencies={'count_letters': {'word': DependencyDefinition('multiply_the_word')}}
    )
    return graph_def
j
Looks like you’re trying to access s3 but don’t have AWS credentials set
s
We are passing it using secret keys in values.yaml file as in the dagster documentation and setting the secret keys using
Copy code
kubectl -n <namespace> create secret generic dagster-aws-secret-access-key --from-literal=AWS_SECRET_ACCESS_KEY=<secret-key>
j
Do you have the correct keys set for the bucket you’re pointed at
s
Yes
j
From stack overflow https://stackoverflow.com/questions/36144757/aws-cli-s3-a-client-error-403-occurred-when-calling-the-headobject-operation
AWS S3 throws 403 error when the specified object or file doesn’t exist at the location.