Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Lib
Wellbore-cloud
Wellbore-aws-lib
Commits
c8f5b8f2
Commit
c8f5b8f2
authored
Sep 02, 2021
by
Yunhua Koglin
Browse files
Merge branch 'daskpara' into 'master'
bump up version for chunking features See merge request
!3
parents
df305523
81199d2d
Pipeline
#62608
passed with stages
in 1 minute and 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
osdu_aws/__init__.py
View file @
c8f5b8f2
...
...
@@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
__version__
=
'0.0.
2
'
__version__
=
'0.0.
3
'
osdu_aws/storage/storage_aws.py
View file @
c8f5b8f2
...
...
@@ -62,28 +62,25 @@ class AwsStorage(BlobStorageBase):
'Sid'
:
'One'
,
'Effect'
:
'Allow'
,
'Action'
:
[
'
s3:ListBucketVersions
'
,
'
s3:ListBucket
'
"
s3:ListBucketVersions
"
,
"
s3:ListBucket
"
],
'Resource'
:
[
"arn:aws:s3:::%s"
%
bucket
],
'Condition'
:
{
'StringEquals'
:
{
"s3:prefix"
:
"%s/"
%
keypath
}
}
'Resource'
:
[
"arn:aws:s3:::%s"
%
bucket
]
},
{
'Sid'
:
'Two'
,
'Effect'
:
'Allow'
,
'Action'
:
[
"s3:*"
"s3:ListBucket"
,
"s3:GetObject"
,
"s3:PutObject"
],
'Resource'
:
[
"arn:aws:s3:::%s"
%
bucket
],
'Resource'
:
[
"arn:aws:s3:::%s
/*
"
%
bucket
],
'Condition'
:
{
'StringLike'
:
{
"s3:prefix"
:
"%s/
*
"
%
keypath
"s3:prefix"
:
"%s/"
%
keypath
}
}
}
},
{
'Sid'
:
"Three"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment