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
81199d2d
Commit
81199d2d
authored
Sep 02, 2021
by
Yunhua Koglin
Browse files
bump up version for chunking features
parent
df305523
Changes
2
Hide whitespace changes
Inline
Side-by-side
osdu_aws/__init__.py
View file @
81199d2d
...
...
@@ -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 @
81199d2d
...
...
@@ -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