-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #329 from ekristen/general-improvements
feat: general improvements
- Loading branch information
Showing
12 changed files
with
196 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# IAM Role | ||
|
||
This will remove all IAM Roles an AWS account. | ||
|
||
## Settings | ||
|
||
- `IncludeServiceLinkedRoles` | ||
|
||
### IncludeServiceLinkedRoles | ||
|
||
By default, service linked roles are excluded from the deletion process. This setting allows you to include them in the | ||
deletion process now that AWS allows for them to be removed. | ||
|
||
Default is `false`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package resources | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/gotidy/ptr" | ||
"github.com/stretchr/testify/assert" | ||
) | ||
|
||
func TestEKSFargateProperties(t *testing.T) { | ||
resource := &EKSFargateProfile{ | ||
Cluster: ptr.String("test-id"), | ||
Name: ptr.String("test-name"), | ||
} | ||
|
||
properties := resource.Properties() | ||
|
||
assert.Equal(t, "test-id", properties.Get("Cluster")) | ||
assert.Equal(t, "test-name", properties.Get("Name")) | ||
assert.Equal(t, "test-id:test-name", resource.String()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.