@reventlessdev/rescript-pulumi-aws 2.4.0-alpha.56 → 2.4.0-alpha.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/AppSync/AppSync_GraphQLApi.res +1 -0
- package/src/Cloudwatch/Cloudwatch_EventRule.res +1 -0
- package/src/ECS/ECS_TaskDefinition.res +1 -0
- package/src/IAM/IAM.res +3 -0
- package/src/IAM/IAM.res.mjs +3 -2
- package/src/Lambda/EventSourceMapping.res +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 2.4.0-alpha.58 (2026-07-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **aws:** tag every taggable resource the framework still left bare ([d4f7a90](https://github.com/ReventlessDev/reventless-core/commit/d4f7a908bcaf686ff59a85e300efac4e5e6199df))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# 2.4.0-alpha.57 (2026-07-22)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **pulumi-aws:** expose tags on IAM, EventRule and AppSync GraphQLApi ([3b147b3](https://github.com/ReventlessDev/reventless-core/commit/3b147b323a35d711bcd3efdd1781f1afa66f2a95))
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
# 2.4.0-alpha.56 (2026-07-19)
|
|
7
21
|
|
|
8
22
|
### Features
|
package/package.json
CHANGED
|
@@ -24,6 +24,7 @@ type args = {
|
|
|
24
24
|
executionRoleArn?: Pulumi.Input.t<string>,
|
|
25
25
|
/** ARN of IAM role that allows your Amazon ECS container task to make calls to other AWS services. */
|
|
26
26
|
taskRoleArn?: Pulumi.Input.t<string>,
|
|
27
|
+
tags?: Pulumi.Input.t<Aws.tags>,
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
@module("@pulumi/aws") @scope("ecs") @new
|
package/src/IAM/IAM.res
CHANGED
|
@@ -29,6 +29,7 @@ module Policy = {
|
|
|
29
29
|
name?: Pulumi.Input.t<string>,
|
|
30
30
|
namePrefix?: Pulumi.Input.t<string>,
|
|
31
31
|
path?: Pulumi.Input.t<string>,
|
|
32
|
+
tags?: Pulumi.Input.t<Aws.tags>,
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
@module("@pulumi/aws") @scope("iam") @new
|
|
@@ -93,6 +94,7 @@ module Role = {
|
|
|
93
94
|
let makeWithDefaultPolicy = (
|
|
94
95
|
~name: string,
|
|
95
96
|
~servicePrincipal: Pulumi.Output.t<string>,
|
|
97
|
+
~tags: option<Pulumi.Input.t<Aws.tags>>=?,
|
|
96
98
|
~opts: option<Pulumi.CustomResourceOptions.t>=?,
|
|
97
99
|
) =>
|
|
98
100
|
make(
|
|
@@ -101,6 +103,7 @@ module Role = {
|
|
|
101
103
|
assumeRolePolicy: servicePrincipal
|
|
102
104
|
->Pulumi.Output.apply(principal => Policy.assumeRolePolicy(name, principal))
|
|
103
105
|
->Pulumi.Output.asInput,
|
|
106
|
+
tags: ?tags,
|
|
104
107
|
},
|
|
105
108
|
~opts,
|
|
106
109
|
)
|
package/src/IAM/IAM.res.mjs
CHANGED
|
@@ -34,9 +34,10 @@ let InlinePolicy = {
|
|
|
34
34
|
makeForActions: makeForActions
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
function makeWithDefaultPolicy(name, servicePrincipal, opts) {
|
|
37
|
+
function makeWithDefaultPolicy(name, servicePrincipal, tags, opts) {
|
|
38
38
|
return new (Aws.iam.Role)(name, {
|
|
39
|
-
assumeRolePolicy: servicePrincipal.apply(principal => assumeRolePolicy(name, principal))
|
|
39
|
+
assumeRolePolicy: servicePrincipal.apply(principal => assumeRolePolicy(name, principal)),
|
|
40
|
+
tags: tags
|
|
40
41
|
}, opts);
|
|
41
42
|
}
|
|
42
43
|
|