File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/integration-tests/src/test-project-setup Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,6 @@ class SeedTestProject extends TestProjectBase {
131
131
132
132
const startingInd = seedPolicyProcess . stdout . indexOf ( '{' ) ;
133
133
const cleanedPolicyString = seedPolicyProcess . stdout . slice ( startingInd ) ;
134
- console . log ( 'cleaned:' ) ;
135
- console . log ( cleanedPolicyString ) ;
136
- console . log ( 'original:' ) ;
137
- console . log ( seedPolicyProcess . stdout ) ;
138
134
139
135
const clientConfig = await generateClientConfig ( backendIdentifier , '1.3' ) ;
140
136
if ( ! clientConfig . custom ) {
@@ -146,7 +142,7 @@ class SeedTestProject extends TestProjectBase {
146
142
new AssumeRoleCommand ( {
147
143
RoleArn : seedRoleArn ,
148
144
RoleSessionName : `seedSession` ,
149
- Policy : JSON . stringify ( JSON . parse ( cleanedPolicyString ) ) ,
145
+ Policy : cleanedPolicyString ,
150
146
PolicyArns : [
151
147
{
152
148
arn : 'arn:aws:iam::aws:policy/service-role/AmplifyBackendDeployFullAccess' ,
You can’t perform that action at this time.
0 commit comments