mirror of https://github.com/kubernetes/kops.git
Permission for the bucket needs to be the entity name, not the name of the resource
This commit is contained in:
parent
25911efc51
commit
c22a8f5f66
|
|
@ -123,7 +123,7 @@ type terraformStorageBucketAcl struct {
|
|||
|
||||
func (_ *StorageBucketAcl) RenderTerraform(t *terraform.TerraformTarget, a, e, changes *StorageBucketAcl) error {
|
||||
var roleEntities []string
|
||||
roleEntities = append(roleEntities, fi.StringValue(e.Role)+":"+fi.StringValue(e.Name))
|
||||
roleEntities = append(roleEntities, fi.StringValue(e.Role)+":"+fi.StringValue(e.Entity))
|
||||
tf := &terraformStorageBucketAcl{
|
||||
Bucket: fi.StringValue(e.Bucket),
|
||||
RoleEntity: roleEntities,
|
||||
|
|
|
|||
Loading…
Reference in New Issue