Error: bucket '<bucketname>' already exist and you don't have permission to access it

Hi,

While deploy Function Beat using standard method , getting permission error for S3 bucket. I am able to access the same bucket from CLI . Kindly advise.

/functionbeat -v -e -d "*" deploy cloudwatchecs

 
2020-06-01T15:49:32.867-0500	DEBUG	[aws.executor]	executor/executor.go:53	The executor is executing '6' operations for converging state
2020-06-01T15:49:32.867-0500	DEBUG	[aws]	aws/op_ensure_bucket.go:33	Verifying presence of S3 bucket: sunecs-bucket
2020-06-01T15:49:38.262-0500	DEBUG	[aws.executor]	executor/executor.go:76	The executor is rolling back previous execution, '0' operations to rollback
2020-06-01T15:49:38.262-0500	DEBUG	[aws.executor]	executor/executor.go:89	The rollback is successful
2020-06-01T15:49:38.262-0500	DEBUG	[aws]	aws/cli_manager.go:123	Deploy finish for function 'cloudwatchecs'
Function: cloudwatchecs, could not deploy, error: bucket 'sunecs-bucket' already exist and you don't have permission to access it
2020-06-01T15:49:38.263-0500	DEBUG	[cli-handler]	cmd/cli_handler.go:62	Deploy execution ended
Fail to deploy 1 function(s)
1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.