Comments (6)
list-group-policies lists inline policies. You need list-attached-group-policies for the policies you created. You need to detach the policy from the group before deleting.
from arsenal.
Thanks, I was able to detach and remove the policy, but still can't delete the group...
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam list-attached-group-policies --group-name DirAccess
{
"AttachedPolicies": [
{
"PolicyName": "homedir",
"PolicyArn": "arn:aws:iam::060034739872:policy/homedir"
}
]
}
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam detach-group-policy --group-name DirAccess --policy-arn arn:aws:iam::060034739872:policy/homedir
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam list-attached-group-policies --group-name DirAccess
{
"AttachedPolicies": []
}
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam delete-group --group-name DirAccess
An error occurred (DeleteConflict) when calling the DeleteGroup operation: The request was rejected because it attempted to delete a resource that has attached subordinate entities. The error message describes these entities.
[devops@ws2 ~]$
from arsenal.
Will you please try: aws iam get-group --group-name DirAccess
from arsenal.
Le sigh...
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam get-group --group-name DirAccess
An error occurred (NoSuchEntity) when calling the GetGroup operation: The request was rejected because it referenced an entity that does not exist. The error message describes the entity.
[devops@ws2 ~]$ aws --endpoint-url http://app1.lab.local:8600 iam list-groups
{
"Groups": [
{
"Path": "/",
"CreateDate": "2016-08-25T22:13:09Z",
"GroupId": "EHJCYAYXDUG02QSWM6BCCJ1RN20QTK0G",
"Arn": "arn:aws:iam::060034739872:group/DirAccess",
"GroupName": "DirAccess"
}
]
}
[devops@ws2 ~]$
from arsenal.
@dkilcy Do you mind re-opening this issue in Vault?
from arsenal.
Closing. Reopening in Vault
https://github.com/scality/Vault/issues/564
from arsenal.
Related Issues (20)
- multiple high and critical issues in `yarn audit` HOT 1
- empty/invalid/unredable/none Date header: errors incompatible with AWS
- invalid amz-date header: errors incompatible with AWS
- incorrect authorization header: errors incompatible with AWS
- authv4 sort query params HOT 1
- COMPAT: Increase Signature V2 Expires param
- COMPAT: return AccessDenied if Date before epochTime (01/01/1970) HOT 4
- callApiMethod in routes is not defined
- Error messages should not have periods
- Review of https://github.com/scality/Arsenal/pull/2152
- Re-review of https://github.com/scality/Arsenal/pull/2152
- Policy evaluation, action should be case insensitive
- Tests for #240 HOT 1
- delimiter.js maxKeys==0 param issue HOT 4
- Logs are broken HOT 6
- Exception occurs when using v4 authentication with certain query parameters
- Unbalanced log
- non monotonic clock used in version ID generation
- Action required: Greenkeeper could not be activated 🚨
- Invalid Greenkeeper configuration file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arsenal.