qontract-reconcile 0.10.2.dev163__py3-none-any.whl → 0.10.2.dev164__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qontract-reconcile
3
- Version: 0.10.2.dev163
3
+ Version: 0.10.2.dev164
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
6
6
  Project-URL: repository, https://github.com/app-sre/qontract-reconcile
@@ -664,7 +664,7 @@ reconcile/utils/state.py,sha256=az4tBmZ0EdbFcAGiBVUxs3cr2-BVWsuDQiNTvjjQq8s,1637
664
664
  reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
665
665
  reconcile/utils/template.py,sha256=wTvRU4AnAV_o042tD4Mwls2dwWMuk7MKnde3MaCjaYg,331
666
666
  reconcile/utils/terraform_client.py,sha256=IDlrNvGEc2i6ElZIL_fzaJEad1nRC3DkP9_VXhJXmU0,37329
667
- reconcile/utils/terrascript_aws_client.py,sha256=-knIxxuez_gmaI4OvkMq3YeYdZgzkDIVVorFdS_nw4E,289989
667
+ reconcile/utils/terrascript_aws_client.py,sha256=9dCk0qHyCCuMjxpNCjO6cBoEbBrnldrMU4oyJqD4G_M,291593
668
668
  reconcile/utils/three_way_diff_strategy.py,sha256=oQcHXd9LVhirJfoaOBoHUYuZVGfyL2voKr6KVI34zZE,4833
669
669
  reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
670
670
  reconcile/utils/vault.py,sha256=aSA8l9cJlPUHpChFGl27nSY-Mpq9FMjBo7Dcgb1BVfM,15036
@@ -804,7 +804,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
804
804
  tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
805
805
  tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
806
806
  tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
807
- qontract_reconcile-0.10.2.dev163.dist-info/METADATA,sha256=5N8yyOG8iyt-2Yd_11j59PrrMza06xwFPNvd7qIjYrk,24627
808
- qontract_reconcile-0.10.2.dev163.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
809
- qontract_reconcile-0.10.2.dev163.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
810
- qontract_reconcile-0.10.2.dev163.dist-info/RECORD,,
807
+ qontract_reconcile-0.10.2.dev164.dist-info/METADATA,sha256=z1_JCsqw55NN5xtzOB8RosVnt5yOup_VKbA8UmVjbGA,24627
808
+ qontract_reconcile-0.10.2.dev164.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
809
+ qontract_reconcile-0.10.2.dev164.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
810
+ qontract_reconcile-0.10.2.dev164.dist-info/RECORD,,
@@ -6138,6 +6138,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6138
6138
  callback_urls=[f"{bucket_url}/token.html"],
6139
6139
  depends_on=["aws_cognito_resource_server.userpool_gateway_resource_server"],
6140
6140
  **pool_client_args,
6141
+ # token_validity_units={
6142
+ # "access_token": "minutes",
6143
+ # "id_token": "minutes",
6144
+ # "refresh_token": "days"
6145
+ # },
6141
6146
  )
6142
6147
  tf_resources.append(cognito_user_pool_client)
6143
6148
 
@@ -6149,9 +6154,15 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6149
6154
  user_pool_id=f"${{{cognito_user_pool_resource.id}}}",
6150
6155
  callback_urls=insights_callback_urls,
6151
6156
  **pool_client_args,
6157
+ # token_validity_units={
6158
+ # "access_token": "minutes",
6159
+ # "id_token": "minutes",
6160
+ # "refresh_token": "days"
6161
+ # },
6152
6162
  )
6153
6163
  tf_resources.append(insights_cognito_user_pool_client)
6154
6164
 
6165
+ # todo: these scopes should be defined in an external resource file
6155
6166
  # POOL RESOURCE SERVER
6156
6167
  cognito_resource_server_resource = aws_cognito_resource_server(
6157
6168
  "userpool_service_resource_server",
@@ -6215,6 +6226,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6215
6226
  allowed_oauth_scopes=["ocm/AccountManagement"],
6216
6227
  depends_on=["aws_cognito_resource_server.userpool_service_resource_server"],
6217
6228
  **pool_client_service_account_common_args,
6229
+ token_validity_units={
6230
+ "access_token": "minutes",
6231
+ "id_token": "minutes",
6232
+ "refresh_token": "days",
6233
+ },
6218
6234
  )
6219
6235
  tf_resources.append(ams_service_account_pool_client_resource)
6220
6236
 
@@ -6226,6 +6242,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6226
6242
  allowed_oauth_scopes=["ocm/ClusterService"],
6227
6243
  depends_on=["aws_cognito_resource_server.userpool_service_resource_server"],
6228
6244
  **pool_client_service_account_common_args,
6245
+ # token_validity_units={
6246
+ # "access_token": "minutes",
6247
+ # "id_token": "minutes",
6248
+ # "refresh_token": "days"
6249
+ # },
6229
6250
  )
6230
6251
  tf_resources.append(cs_service_account_pool_client_resource)
6231
6252
 
@@ -6237,6 +6258,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6237
6258
  allowed_oauth_scopes=["ocm/ServiceLogService"],
6238
6259
  depends_on=["aws_cognito_resource_server.userpool_service_resource_server"],
6239
6260
  **pool_client_service_account_common_args,
6261
+ # token_validity_units={
6262
+ # "access_token": "minutes",
6263
+ # "id_token": "minutes",
6264
+ # "refresh_token": "days"
6265
+ # },
6240
6266
  )
6241
6267
  tf_resources.append(osl_service_account_pool_client_resource)
6242
6268
 
@@ -6251,6 +6277,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6251
6277
  "aws_cognito_resource_server.userpool_service_resource_server"
6252
6278
  ],
6253
6279
  **pool_client_service_account_common_args,
6280
+ # token_validity_units={
6281
+ # "access_token": "minutes",
6282
+ # "id_token": "minutes",
6283
+ # "refresh_token": "days"
6284
+ # },
6254
6285
  )
6255
6286
  )
6256
6287
  tf_resources.append(backplane_cli_service_account_pool_client_resource)
@@ -6266,6 +6297,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6266
6297
  "aws_cognito_resource_server.userpool_service_resource_server"
6267
6298
  ],
6268
6299
  **pool_client_service_account_common_args,
6300
+ # token_validity_units={
6301
+ # "access_token": "minutes",
6302
+ # "id_token": "minutes",
6303
+ # "refresh_token": "days"
6304
+ # },
6269
6305
  )
6270
6306
  )
6271
6307
  tf_resources.append(backplane_api_service_account_pool_client_resource)
@@ -6278,6 +6314,11 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
6278
6314
  allowed_oauth_scopes=["ocm/InsightsServiceAccount"],
6279
6315
  depends_on=["aws_cognito_resource_server.userpool_service_resource_server"],
6280
6316
  **pool_client_service_account_common_args,
6317
+ # token_validity_units={
6318
+ # "access_token": "minutes",
6319
+ # "id_token": "minutes",
6320
+ # "refresh_token": "days"
6321
+ # },
6281
6322
  )
6282
6323
  tf_resources.append(insights_service_account_pool_client_resource)
6283
6324